2.2 Number system and representation

The binary (base 2) number system is used to represent the electronic status of the bits in memory. It also used for other purposes such as addressing the memory locations. Another number system commonly used with the computers is hexadecimal numbers (base 16). The computer uses the hexadecimal number system to communicate with the programmer when the problem with a program exists.

Decimal Number System
Familiar use in everyday life
Consists of numbers 0-9
Decimal digits are joined together to form longer decimal numbers
Example: 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12,……

A base 10 number system.
The base of the number system indicates how many symbols it uses.
It uses 10 symbols (0 – 9).
Each symbol has a value associated with it.
Example:
310 (3) represent the quantity of three.
 510 (5) represent the quantity of five.

0 ulasan:

Catat Ulasan