Number System
Number System
NUMBERING SYSTEM
A numbering system is identified by
it’s base.
Base indicates two things
Number of digits in that numbering
system
The Coefficient of every digit
For example “Decimal numbering
system” has the base 10, it means
it has 10 digits.
The Coefficient of every digit in
decimal numbering system is 10
NUMBERING SYSTEM
Decimal Binary Octal Hexadecimal
0 0000 0 0 A
1 0001 1 1 B
2 0010 2 2
3 0011 3 3 C
4 0100 4 4 D
5 0101 5 5
6 0110 6 6 E
7 0111 7 7 F
8 1000 10 8
9 1001 11 9
(base 10) (base 2) (base 8) (base 16)
CONVERSION
From any numbering system to Decimal :
Perform the following four steps
Step 1 Complete
2 1 0
Step 2 Complete
3*8 + 4*8 + 5*8
Step 3 Complete
= 3 * 64 + 4 * 8 + 5 * 1
Step 4 Complete
= 192 + 32 + 5
= ( 229 ) Decimal
10 Number
CONVERSION EXAMPLE 2
Convert (243)5 = (?)10
BASE 5
0
2 1 0 1
2*5 + 4*5 + 3*5
2
= 2 * 25 + 4 * 5 + 3 * 1 3
4
= 50 + 20 + 3
= ( 73 ) Decimal
10 Number
CONVERSION EXAMPLE 3
Convert (136)7 = (?)10
BASE 7
0
2 1 0 1
1*7 + 3*7 + 6*7
2
= 1 * 49 + 3 * 7 + 6 * 1 3
4
= 49 + 21 + 6 5
6
= ( 76 ) Decimal
10 Number
CONVERSION EXAMPLE 4
Convert (11010)2 = (?)10
4 3 2 1 0
1*2 + 1*2 + 0*2 + 1*2 + 0*2
= 1 * 16 + 1 * 8 + 0 * 4 + 1 * 2 + 0 * 1
= 16 + 8 + 0 + 2 + 0
= ( 26 ) Decimal
10 Number
Conversion from Decimal to Binary
(30)10 = (?) 2 2 30
2 15 - 0
2 7–1
2 3–1
1–1
= (11110) 2 Decimal Number