High level language


DIFFERENCES BETWEEN HIGH AND LOW LEVEL LANGUAGES



Download 34 Kb.
Page6/6
Date17.12.2020
Size34 Kb.
#55147
1   2   3   4   5   6
ICT
ICT
DIFFERENCES BETWEEN HIGH AND LOW LEVEL LANGUAGES

S/N

HIGH LEVEL LANGUAGE

LOW LEVEL LANGUAGE

1.

It will be in human readable form

It is a machine readable form of program

2.

Are easy to write as well as compile

Are difficult to write and compile

3.

It is simple to debug

It is complex to debug comparatively

4.

It is portable

It is not portable

5.

It is simple to maintain

It is complex to maintain comparatively

6.

It is less memory efficient

It is high memory efficient

SIMILARITIES BETWEEN HIGH LEVEL AND LOW LEVEL LANGUAGES

  1. They are used by programmers.

  2. They are executed by a CPU with or without the help of memory.

  3. Are very precise and well defined/documented.

  4. Ultimately break down to machine code i.e 1s and 0s.

MACHINE LEVEL LANGUAGE

Machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer is capable of understanding; Machine language is the lowest-level programming language (except for computers that utilize programmable microcode). Machine languages are the only languages understood by computers. Machine Language: This is the closest language to the hardware. It consist sets of instructions that are executed directly by the computer. These instructions are in sequence of binary bits. Each transaction performs a very specific and small task. Example: SUB AX, BX = 00001011 00000001 00100010 is an instruction set to subtract values of two registers AX and BX.



FEATURES OF MACHINE LANGUAGE

  • It is written in 1’s and 0’s.

ADVANTAGES OF MACHINE LANGUAGE

  1. Makes fast and efficient use of the computer.

  2. It requires no translator to translate the code. It is directly understood by the computer.

DISADVANTAGES OF MACHINE LANGUAGE

  1. All operation codes have to be remembered.

  2. All memory addressed have to be remembered.

  3. It is hard to amend or find errors in a program written in the machine language.

Download 34 Kb.

Share with your friends:
1   2   3   4   5   6




The database is protected by copyright ©ininet.org 2024
send message

    Main page