Number System
Number System
Number System
2 5 7
Position Position
Example 1.1:
6000+400+70+2
= 6X103+4X102+7X101+2X100
digit =7X
Uni† 1 Fundamen†al of Compu†ers
= 4 X 102 Weight of
103
Example:
= 1X24+0X23+1X22+1X21+0X20
................................................
...............................................
And so on.
The weight of the nth bit of the number from right hand
side
4 4 100
5 5 101
6 6 110
7 7 111
8 10 100 000
10 12 001 010
15 17 001 111
16 20 010 000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
Uni† 1 Fundamen†al of Compu†ers
9 9 1001
1 A 1010
0
1 B 1011
1
1 C 1100
2
1 D 1101
3
1 E 1110
4
1 F 1111
5
1.4 Number System
Conversion
First we mark the bit position and then we give the weight of
Uni† 1 Fundamen†al of Compu†ers
Solution:
(110100)2=1X25+1X24+0X23+1X22+0X21+0X20
=32+16+0+4+0+0
= (52)10
(110100)2= (52)10
Uni† 1 Fundamen†al of Compu†ers
Solution:
(111011.101)2 =
(1X25+1X24+1X23+0X22+1X21+1X20)+(1X 2-1+0X2-
2+1X2-3)
= (32+16+8+0+2+1) + (0.5+0+0.125)
= (59.625)10
(111011.101)2 = (59.625)10
2 |75 Remainder
2|37 1
Uni† 1 Fundamen†al of Compu†ers
2|18 1
2|9 0 Read in
2|2 0
1 0
1.00bits.
= (107)10
Solution:
Remain
ders 8 | 3229
8 | 403 5 read
in
8 | 50 3 rever
se
8|6 2 order
0 6
(0.123)10= (0.0767)8
Solution:
= (19075)10
(4A83)16= (19075)10
Solution:
=1280+48+10+0+0.04927+0.0009765
= (1338.0439)10
(53A.0B4)16=(1338.0439)
10