Programming Languages
Programming Languages
LANGUAGES
________
Danish Ali
Programming?
Memory
Types of Programming Languages
printf("hello, world\n"); OS
executable CPU
compiler
Memory
• Low Level Programming Languages
High and Low Level Languages
• The main difference between high level language and low level
language is that, Programmers can easily understand or interpret
or compile the high level language compared to the machine. On
the other hand, Machine can easily understand the low level
language compared to human beings.
Compiler Interpreter
Differences
• An interpreter
• Reads one statement then translates it and executes it and then takes
another.
• Easy to check for mistake(debug) than a compiler
• Programme instructions are performed slowly
• A Compiler
• Translates the entire program in one go and then executes it.
• Hard to spot and correct mistakes
• Programme instructions are performed quickly
Uses