Posts

Programmer's Hub

A blog about computer programming language and computer programs. One can find all kind of programming stuff. Also contact for project work, Assignments etc. Online Learning available for basic to advance such as MS-Office, C,C++,Java, Data structure, ASP.NET, PHP,C#,PYTHON, Linux/Unix, Netbeans, HTML, DHTML,CSS,JavaScript,Oracle,MYSQL,SQL. Feel free to contact @ kaushalrajni65@gmail.com

Introduction To Java

Java is a complete programming language developed by Sun. It Can be used to develop either web based or stand-alone software. Many pre-created code libraries available for more complex and powerful programs Following are the features of JAVA Simple Object-Oriented Portable Platform independent Secured Robust Architecture neutral Dynamic Interpreted High Performance Multithreaded Distributed Simple According to Sun, Java language is simple because: syntax is based on C++ (so easier for programmers to learn it after C++). removed many confusing and/or rarely-used features e.g., explicit pointers, operator overloading etc. Object-oriented Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behaviour. Object-oriented programming(OOPs) is a methodology that simplify software development and maintenance by providing some rules. Basic concepts of OOPs are: Object Class Inheritanc...

Data Structure

A data structure is a scheme for organizing data in the memory of a computer. Some of the more commonly used data structures include lists, arrays, stacks, queues, heaps, trees, and graphs. The way in which the data is organized affects the performance of a program for different tasks. Computer programmers decide which data structures to use based on the nature of the data and the processes that need to be performed on that data. Data structure are of two types: Linear data structure (Array,Linked list,Stack, Queue) Non-Linear data structure (Tree,Graphs)

Program to convert number into words

#include<stdio.h> void pw(long,char[]); char *one[]={" "," one"," two"," three"," four"," five"," six"," seven","eight"," Nine"," ten"," eleven"," twelve"," thirteen"," fourteen","fifteen"," sixteen"," seventeen"," eighteen"," nineteen"}; char *ten[]={" "," "," twenty"," thirty"," forty"," fifty"," sixty","seventy"," eighty"," ninety"}; void main() {  long n;  printf("Enter any 9 digit no: ");  scanf("%9ld",&n);  if(n<=0)                 printf("Enter numbers greater than 0");  else  {                   pw((n/10000000),"crore");                   pw(((n/100000)%100),"lakh");                   pw(((n/1000)%100),...

C Language

Image
Introduction To C Language C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. In the late seventies C began to replace the more familiar languages of that time like PL/I, ALGOL, etc ANSI C standard emerged in the early 1980s, this book was split into two titles: The original was still called Programming in C, and the title that covered ANSI C was called Programming in ANSI C. This was done because it took several years for the compiler vendors to release their ANSI C compilers and for them to become ubiquitous. It was initially designed for programming UNIX operating system. Now the software tool as well as the C compiler is written in C. Major parts of popular operating systems like Windows, UNIX, Linux is still written in C. This is because even today when it comes to performance (speed of execution) nothing beats C. Moreover, if one is to extend the operating system to work with new ...

Python

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library Features of Python Simple Python is a simple and minimalistic language. Reading a good Python program feels almost like reading English (but very strict English!). This pseudo-code nature of Python is one of its greatest strengths. It allows you to concentrate on the solution to the problem rather than the syntax i.e. the language itself. Easy to Learn As you will see, Python is extremely easy to get started with. Python has an extraordinarily simple syntax ...