programming languages
programming languages
Examples of Programs:
• Microsoft Word
• Adobe Photoshop
• Skype
scanf
printf
(), {}, “ “ ;
• Programs written in high level languages are shorter than low level
languages
Shorter Programs • One instruction of high level language is equivalent to many
instructions of low level language
#include<stdio.h> 010101011010010110
#include<conio.h> 101010011101010101
void main() {
011101010101010010
printf(“I Love Pakistan”);
} 101110101010101101
010101010111011110
#include<stdio.h> 010101011010010110
#include<conio.h> 101010011101010101
void main() {
011101010101010010
printf(“I Love Pakistan”);
} 101110101010101101
010101010111011110
• If there is an error in the program statement, the interpreter stops working and displays the error
message
Convert high level program that can be executed Convert high level language program each time is
many times executed
Displays syntax error after compiling the whole Display the syntax error on each instruction of the
program program
The user needs to review the whole program to find out logical error