Number System
Binary Number System: Binary Number represent 0
and 1, the base of binary number is 2. Base of the
number system is also called radix
Octal Number System: Octal Number represent 0 1 2 3
4 5 6 7, the base of Octal Number is 8
Decimal Number system: Decimal Number represent 0
1 2 3 4 5 6 7 8 9, the base of Decimal Number is 10
Hexa-Decimal Number System: Hexa-Decimal Number
represent 0 1 2 3 4 5 6 7 8 9 A B C D E F, the Base of
Hexa-Decimal Number is16
Decimal to Binary
(10)10 = ( 1010)2
Base of Binary
Remainders
2 10
2 5 0
2 2 1
2 1 0 ( 1 0 1 0)2
0 1 Bottom to top
(107)10 = (1101011)2
2 107
2 53 1
2 26 1
2 13 0
2 6 1
2 3 0
2 1 1
0 1
(10.5)10=(1010.1)2
(0.5)10
0 5*2
1 0
23 22 21 20 2-1
1 0 1 0 1
Most Significant
Binary Point Least Significant
Bit (MSB)
Bit (LSB)
(10.25)10=(1010.01)2-
(0.25)10
0 0.25*2
0 0.50*2
1 1.0
(10.8)10=(1010.1100)2
0 8*2
1 6*2
1 2*2
0 4*2
0 8*2
1 6*2
1 2*2
0 4*2
0 8*2
1 6*2
1 2*2
0 4*2
0 8
Binary to Decimal number
(10100)2=( 20 )10
1x24+0x23+1x22+0x21+0x20
16+0+4+0+0=20
Decimal to Octal Number
(20)10=(2 4)8
8 20
8 2 4
0 2
(80)10=(1 2 0)8
8 80
8 10 0
8 1 2
0 1
Octal to Decimal Number
(2 4)8 = (20)10
2x81+4x80
16+4=20
Decimal to Hexa-Decimal Number
(50)10=(3 2)16
16 50
16 3 2
0 3
Hexa-decimal to Decimal Nmuber
(3 2)16=(50)10
3x161+2x160
48+2=50
Binary to Octal Number
1. (10011)2=(2 3)8
010 011
4 2 1 4 2 1
2. (10011.11)2= (2 3.6)8
010 011 . 110
4 2 1 4 2 1 4 2 1
Binary to Hexa-Decimal Number
(11011)2=(1B)16
0 0 01 1 011
8 4 2 1 8 4 2 1
Binary addition
Rules:
0+0=0
1+1=10
1+0=1
0+1=1
1+1=11
1. 11110+1101
11110
+ 01101
101011