Wednesday, March 19, 2014

Advantages and Disadvantages of Machine Language

 Advantages of Machine Language:

Even though machine languages are not a human friendly language, it offers following
advantages.
a) Translation Free:
Machine language is the only language that computers can directly execute without the
need for conversion. Even an application using high-level languages, has to be converted into
machine-readable form so that the computer can understand the instructions.
b) High Speed:
Since no conversion is needed, the applications developed using machine language are
extremely fast. It is usually used for complex applications such as space control system, nuclear
reactors, and chemical processing.

Disadvantages of Machine Language:

There are many disadvantages in using machine language to develop programs. Some of
these are
a) Machine Dependent:
Every computer type differs from the other, based on its architecture. Hence, an
application developed for a particular type of computer may not run on the other type of
computer. This any prove costly as well as difficult for the organizations.
b) Complex Language:
Machine language is very difficult to read and write. Since all the data and instructions
must be converted to binary code, it is almost impossible to remember the instructions. A
programmer must specify each operation, and the specific locations for each piece of data and
instructions to be stored. It means that a programmer practically needs to be hardware expert to
have proper control over the machine language.
c) Error Prone:
Since the programmer has to remember all the opcodes and the memory locations,
machine language is bound to be error prone. It requires a super human effort to keep track of
the logic of an problem and, therefore, results in frequent programming errors.
d) Tedious:
Machine language poses real problems while modifying and correcting a program.
Sometimes the programming becomes too complex to modify and the programmer has to rewrite
the entire logic again. Therefore, it is very tedious and time-consuming, and since time is a
precious commodity, programming using the machine language tends to be costly. Due to its
overwhelming limitations, machine language is rarely used nowadays.

No comments:

Post a Comment