Posts

Showing posts from December, 2012

Lecture 1 - Introduction to Programming

Image
Program is a sequence of instructions which is given to the computer to perform some specific task. There are two categories of languages High Level Language   Low Level Language High level languages are close to human languages. These languages have English like words in them. For example if, else, switch, for, while, do-while, printf, scanf, main, long, double etc For example: C, C++, Java, Basic, Visual Basic, Visual C++, Visual C#, PHP, FORTRAN, and COBOL etc. Features of High level languages Easy to Learn   Easy to Modify   Easy to Debug   Platform Independent   Shorter programs as compared to Low level languages   Less production cost Low level languages are NOT close to human language these languages have either symbols or binary numbers. Machine Dependent Larger programs   High production cost   Difficult to Debug   Comparison of different languages C Language Assem...