Two Levels of Programming Languages
1. Low Level Programming Languages
This level of programming languages is closed to machine language or raw in nature and harder to read than high level programming languages.
Example: Assembly Language
SUB AX,AX
MOV ES,AX
SUB BH,BH
MOV BL,INT_NUMBER
SHL BX,1
SHL BX,1
MOV DI,ES:[BX]
MOV ES,ES:[BX+2]
ADD DI,4
LEA SI,TAG
MOV CX,TAG_LEN
2. High Level Programming Languages
This level of programming languages is much closer to human or natural language, usually English language and more readable than low level programming language.
Example: C, Java, Basic, Cobol, Fortran, Ruby, Python
Code: (Java)
Example: C, Java, Basic, Cobol, Fortran, Ruby, Python
Code: (Java)
public class Welcome{
public static void main(String[] args){
System.out.println("HELLO WORLD!");
}
}
Download PDF File
No comments:
Post a Comment