Explain machine level language and write its advantages and disadvantages.
Machine Language. Its Advantages & Disadvantages
Machine Language is the only language that is directly understood by the computer. It does not needs any translator program. We also call it machine code and it is written as strings of 1’s (one) and 0’s (zero). When this sequence of codes is fed to the computer, it recognizes the codes and converts it in to electrical signals needed to run it. For example, a program instruction may look like this:
It is not an easy language for you to learn because of its difficult to understand. It is efficient for the computer but very inefficient for programmers. It is considered to the first generation language. It is also difficult to debug the program written in this language.
Advantage Machine Language:
The only advantage is that program of machine language run very fast because no translation program is required for the CPU.
Disadvantages Machine Language:
- It is very difficult to program in machine language. The programmer has to know details of hardware to write program.
- The programmer has to remember a lot of codes to write a program which results in program errors.
- It is difficult to debug the program.