Computer Language
To communicate with the computer user also needs to have a language.
Low level language: - Low level computer languages are machine codes or close or close to it. It can only understand and execute instructions given in the form of machine language i.e. language of 0 and 1. There are two types of low level language.
1) Machine language: machine language is basically the only language which computer can understand. Its machine code which is represented inside the computer by a 0 and 1. The symbol 0 stands for the absence of electric pulse and 1 for the presence of an electric pulse.
Advantage:
- It makes fast and efficient use of the computer.
- It require no translate the code i.e. directly understood by the computer.
Disadvantages:
- All operation codes have to be remembered.
- All memory address have to be remembered.
- It is hard to a or find error in a program written in the machine language.
- These language are machine dependent.
2) Assembly language: It operation codes and operands are given in the form of alpha numeric symbols instead of 0’s and 1’s.
Advantages:
- It is easier to understand and use as compared to machine language.
- It is easy to locate and correct errors.
- It is modified easily.
Disadvantages:
- Like machine language it is also machine dependent.
- Since it is machine dependent therefore programmer should have the knowledge of the hardware also.
High level language: Each instruction in the high level language is translated into many language instruction this showing one to many translation.
Comments
Post a Comment