What do you mean by programming language? Briefly explain the advantages and disadvantages of machine language, assembly language and high-level language.

Subject Introduction to Computer System
NU Year Set: 6.(b) Marks: 8 Year: 2010

A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks. The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, Java, FORTRAN,  and Pascal.

Each programming language has a unique set of keywords (words that it understands) and a special syntax for organizing program instructions.

 

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:
1. It is very difficult to program in machine language. The programmer has to know details of hardware to write program.
2. The programmer has to remember a lot of codes to write a program which results in program errors.
3. It is difficult to debug the program.

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:
1. It is very difficult to program in machine language. The programmer has to know details of hardware to write program.
2. The programmer has to remember a lot of codes to write a program which results in program errors.
3. It is difficult to debug the program.

Advantages of High level language

High level languages are programmer friendly. They are easy to write, debug and maintain.

It provide higher level of abstraction from machine languages.

It is machine independent language.

Easy to learn.

Less error prone, easy to find and debug errors.

High level programming results in better programming productivity.

Disadvantages of High level language

It takes additional translation times to translate the source to machine code.

High level programs are comparatively slower than low level programs.

Compared to low level programs, they are generally less memory efficient.

Cannot communicate directly with the hardware.

 

Login to post your comment.