Languages & Environments



Download 2.16 Mb.
Page1/10
Date28.05.2018
Size2.16 Mb.
#51457
  1   2   3   4   5   6   7   8   9   10

Languages & Environments


You should be able to describe the key characteristics of the following language types:



  1. Low-level languages

  2. High-level languages

  3. Procedural languages

  4. Declarative languages

  5. Object-orientated languages

Low-level languages

All processors understand data in binary form only. The value 180 is represented and processed in binary as: 10110100.



Reminder

Why is 10110100 the binary representation of 180?



128

64

32

16

8

4

2

1

1

0

1

1

0

1

0

0

128 + 32 + 16 + 4 = 180

Creating binary code for every instruction would be time consuming and require a lot of concentration. One slight error could send the wrong instruction to the processor.

Programmers realised that they had to develop low-level languages that were easier for humans to use but that could be converted into binary efficiently.

The two common low-level languages are and machine code assembly code.




Download 2.16 Mb.

Share with your friends:
  1   2   3   4   5   6   7   8   9   10




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

    Main page