Memory Representation.......(Number System)
Number System
Memory Representation in computer does not understand our language .it
understand only machine label language that is binary number system (0 to 1).
All data are store in this format.
0 = Nothing
1 = Something
Unit
of memory
4
Bit = 1 Nibble
8
Bit = 1 Byte
1024
Byte = 1 K.B (Kilo Byte)
1024
K.B = 1 M.B (Mega Byte)
1024
M.B = 1 G.B (Giga Byte)
1024
G.B = 1 T.B (Year Byte)
1024
T.B = 1 P.B (Petra Byte)
1024
P.B = 1 E.B (Exa Byte)Convert Binary To Decimal
Example 1) (10010)2 =
(?)10
Sol :- 1*24 + 0*23 +
0*22 + 1*21 + 0*20
1*16
+ 0*8 + 0*4 + 1*2 + 0*1
16
+ 0 + 0 + 2 + 0 = 18
(10010)2 =
(18)10
Example 2) (1101101)2 = (?)10
Sol :- 1*26 + 1*25 +
0*24 + 1*23 + 1*22 + 0*21 +
1*20
1*48
+ 1*32 + 0*16 + 1*8 + 1*4 + 0*2 + 0*1
48
+ 32 + 0 + 8 + 4 + 0 + 0 = 92
(1101101)2 =
(92)10
Example 3) (1101.000101)2 =
(?)10
Sol :- 1*23 + 1*22 +
0*21 + 1*20 + 0*2-1 + 0*2-2 +
0*2-3 + 1*2-4 + 0*2-5 + 1*2-6
=
8 + 4 + 0 + 1 + 0 + 0 + 0 + 1/16 + 0 + 1/64
=
13 + 0.0625 + 0.015625
=
13.078125
(1101.000101)2 =
(13.078125)10Labels: Convert Binary To Decimal, Memory Representation, Number System, Unit of memory
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home