Pages

Monday, August 19, 2013

What is Computer Programming?

In the current technologically advanced world usually people don't know lot about programming. Due to that lot of students who want to become a programmer do not get enough primary knowledge about what is the programming. or someone might say what the hack programming means?

So, today I am going to give you guys a clear idea about what the computer programming is. 

"A vocabulary and set of grammatical rules for instructing a computer to perform specific task by using a computer resources."

The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, FORTRAN and PASCAL. Each and every language have their own set of rules, syntax and keywords to write program.

The following video will surely inspire you towards programming.




There are mainly three main categories of programming languages.





      1. High-level programming languages, while simple compared to human languages, are more complex               than the languages the computer actually understands, called machine languages. Each different type           of CPU has its own unique machine language.

      2. Lying between machine languages and high-level languages are languages called assembly languages.             Assembly languages are similar to machine languages, but they are much easier to program in                         because they allow a programmer to substitute names for numbers.

      3. Machine languages consist of numbers only. It is only understandable by computers. It is a binary                   language which contains only 0's and 1's.


Regardless of what language you use, you eventually need to convert your program into machine language so that the computer can understand it. There are two ways to do this:
  • Compiling the program
  • Interpreting the program

The question of which language is best is one that consumes a lot of time and energy among computer professionals. Every language has its strengths and weaknesses. For example, FORTRAN is a particularly good language for processing numerical data, but it does not lend itself very well to organizing large programs. Pascal is very good for writing well-structured and readable programs, but it is not as flexible as the C programming language. C++ embodies powerful object-oriented features, but it is complex and difficult to learn.
The choice of which language to use depends on the type of computer the program is to run on, what sort of program it is, and the expertise of the programmer.

Hope you would enjoy this.I will come up with something more next time. 
Thank you .