Professional Documents
Culture Documents
AND ARCHITECTURE
NUMBER SYSTEMS
NON-POSITIONAL NUMBER
SYSTEMS
In ancient times, people used to count on their fingers. When fingers
became insufficient for counting, stones, pebbles, or sticks were used
to indicate the values.
This method of counting is called the Non-Positional Number System.
It was difficult to perform arithmetic with such a number system as it
had no symbol for 0.
The most common non-positional number system is the Roman
Number System.
Here only a few characters are used to represent the numbers. The
characters used are I, V, X, L (for 50), C (for 100) etc.
POSITIONAL NUMBER
SYSTEMS
In positional number system the value of each digit in a number is
defined not only by the symbol but also by the symbols position.
Positional number systems have a base or radix.
The first positional number system was invented by the Babylonians.
Its base was 60.
The positional number system which is in use today is called the
Decimal Number System. This system has a base 10, which means it
contains 10 digits (0,1,2,3,4,5,6,7,8,9).
The other positional number systems are the Binary Number System,
The Octal Number System and the Hexadecimal Number System each
having a base of 2, 8 and 16 respectively.
Principles applicable for the Decimal Number System are also
applicable for the others.
Radix
Value
Set of Digits
Example
Decimal
10
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
(25)10
Binary
0, 1
(11010)2
Octal
0, 1, 2, 3, 4, 5, 6, 7
(45)8
Hexadecimal
16
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,
D, E, F
(19)16
26
25
24
23
22
21
20
2-1
2-2
128
64
32
16
.5
.25
2-3
2-4
.125 .062
5
84
83
82
81
80
8-1
8-2
8-3
8-4
8-5
327
68
4096
512
64
0.125
0.015
625
0.001
953
0.000
244
0.0
000
31
TABLES.doc
The octal or base 8 number system can also be used with computers.
We find that one octal digit is the equivalent of 3 binary digits.
This is also a positional number system.
Just as the decimal number system uses powers of 10 and the binary
system uses powers of 2, the octal system uses powers of 8 to
determine the digit or the symbol of the numbers position.
For example: Conversion of (225)8 to binary is (010010101)2. This was
done with reference to the Binary- Decimal- Octal Comparison table.
HEXADECIMAL NUMBER
SYSTEM
Hexadecimal is another number system that works exactly like the
decimal and binary number systems except that the base is 16.
Just as the decimal number system represents a power of 10, each
hexadecimal number represents a power of 16.
To represent the decimal numbers, this system uses numbers from 0
9 and A F characters to represent 10 to 15 respectively.
TABLES.doc
One hexadecimal digit is equivalent to 4 binary digits.
The largest hexadecimal digit F is equivalent to binary 1111. In other
words, a single hexadecimal can represent a combination of 4 bits.
Since a byte contains 8 bits, so a byte can be represented by exactly 2
hexadecimal digits. For example: 01101111 can be represented as
(6F)16.