- Ques- conversion of decimal to binary number(42)10 =(101010)
- Ans – a r
- 42/2 = 21 0
21/2 = 10 1
10/2 = 5 0
2/2 =
1 0
1/2 = 0 1
- Quest –convert to decimal no to binary number 73 to binary.
- Ans- a r
- 73/2= 36 1
36/2= 18 0
18/2= 9 0
9/2= 4 1
4/2= 2 0
2/2= 1 0
Ans (73)10=(1001001)2
- Que convertion of Decimal fraction to binary fraction.
- Ans –
- (81.635)10 =(1010001.1010001)2
A r
81/2 = 40 1
40/2 = 20 0
20/2 = 10 0
10/2 = 05 0
05/2 = 02 1
02/2 = 01 0
01/2 = 00 1
(81)10 = (1010001)2
0.635*2 = 1.270 1
0.270*2 = 0.54 0
0.54*2 =
1.08 1
0.08*2 =
0.16 1
0.16*2 =
0.32 0
0.32*2 =
0.64 0
- 2. (0.8125010 = (0. 1101)2
0.8125*2 = 1.6250 1
1.6250*2 = 1.250 1
1.250*2 =
0.50 0
0.5*2 = 1.00 1
NOTE- the process will be continue for the seven (7) step.
- Que. Conversion of decimal to octal number.
- (63)10 = (77)8
63/8 = 7 7
7/8 = 0 7
- (256) 10 = (400)8
256/8 = 32 0
32/8 = 4 0
4/8 = 0 4
- (1024)10 = (2000)8
1024/8 = 128 0
128/8 = 16 0
16/8 = 2 0
2/8 = 0 2
- Que. Convertion of decimal fraction to octal fraction
- (0.96)10 = (75341)8
0.96*8 = 7.68 7
0.68*8 = 5.44 5
0.44*8 = 3.52 3
0.52*8 = 4.12 4
0.12*8 = 0.96 1
- (110.01)10 =( )8
110/8 = 13 6
13/8 = 1 5
1/8 = 0 1
(110)10 =(156)8
0.01*8 = 0.08 0
0.08*8 = 0.64 0
0.64*8 = 5.12 5
0.12*8 = 0.96 0
0.96*8 = 7.68 7
(0.1)10 =
(0.0050)8
(110.01) =
(156.0057)8
Note :- the
process will continue to 5 step
Que:- convertion
of decimal number to hexadecimal number
(426)10 =
(1AA)16
426/16 = 26 10
26/16 = 1 10
1/16 = 0 1
(1076)10 =
(2409)16
1076/16 = 672
672/16 = 42
42/16 = 2
2/16 = 0
Que:- convertion
of decimal fraction to hexadecimal fraction
1. (0.25)10
= (0.04)16
0.25*16 = 4.00 = 4
2. (0.625)10 = (0.10000A)16
0.625*16 = 10.000
Que:-convertion of
octal number to decimal number
1.(567)8 =
(382)10
5*82 +7*81+ 6*80
5*64+56 +6
320+62 = (382)10
2. (77)8 = (63)10
(77) 8 = 7*81 + 7*80
56+7
= (63)10
·
Conversion
of octol fraction to decimal fraction to decimal fraction.
·
(0.64)8 = (0.8125)
·
(0.64)8=
0*81+6*8-1+4*8-2
0+6*1/8+4*1/8
3/4 +1/16
12+1/16
13/16
(0.8125)10
2. (56.32)10 = (46.40625)10
(56.32)= 5*81+6*80+3*8-1+2*8-2
40+6+3*1/8+2*1/64
46+3/8+1/32
(46.40625)10
- Ques – conversion of binary number to decimal number .
- (101010)2= (42)10
- (101010)2= 1*25+0*24+1*23+0*22+1*21+0*20
32+0+8+0+2+0
= (42)10
- 2. (1001001)2 =(73)10
(1001001)2=
1*26+0*25+0*24+1*23+0*22+0*21+1*20
= 64+0+0+8+0+0+1
= (73)10
·
Conversion
of binary fraction to decimal fraction.
·
(101001.101001)2 =(41.640625)10
(1001001)2= 1*26+0*25+0*24+1*23+0*22+0*21+1*20
= 64+ 0+ 0+8+0+0+1
= (73)10
- Ques - conversion of binary fraction to decimal fraction.
- 1. (101001.101001)2= (41.640625)10
- (101001.101001)2= 1*25+0*24+1*23+0*22+0*21+1*2-1+0*2-2+1*2-3+0*2-4+0*2-5+1*2-6
= 32+0+8+0+0+1+1/2+0+1/8+0+0+1/64
=
41+1/2+1/8+1/64
=
2624+32+8+1/64
= (41.640625)10
- Ques – conversion of hexa decimal to
decimal number.
- 1. (D3C)16= d*162+3*161+c*160
13
*256++3*16+12*1
=(33.88)10
·
2.
(1AA)16 =(426)10
·
(1AA)16
= 1*162A*161+A*160
·
256+10*16+10*1
·
256+160+10
·
(426)10
·
Ques
– conversion of hexa decimal fraction to decimal fraction.
·
(D3C,A2)16 = ( )10
D*162+3*161C*160+A*16-1+2*16-2
13*256+3*16+12*1+10*1/16+1/16*16
= 3388+10/16+1/8*16
= 3388+10/16+1/8*16
=3388+5/8+1/128
=433664+80+19/128
= 433745/128
= (3388.6328)10
2. (D3E.D)16 = (3390.8125)10
= (D3E.D)16=
D*162+3*161+E*160+D*16-1
=
13*256+48+14*1+13*1/16
= 3328+48+14+13/16
= 54240+13/16
= 54253/16
=(3390.8125)10
- NOTE- decimal
- 1. Binary (2).
- 2. Octal (8).
- 3. hexa decimal(16).
- Ques – conversion of binary number to octol number.
- (1110)2 =(16)8
001110 ans .
2. (111111001)2 =(771)8
·
Conversion
of binary fraction to octal fraction.
·
(111111.110101110100)2
= (771.6564)8
2. (1110.01101)2= (16.32)8
ans .
RULE-the base of octal no is 8 but 8 is equal (=)
to 23 three for to convert a binary number to octal nimber make
three type binary group of the binary number .
Ex - right to
left .
Left to right.
3. (101101101101.110101101101)2= (5555.6555)8 ans
·
Conversion
of octol number fraction to binary fraction
·
(367421.11053)8
=(01111011110001000.001001000101010011)2
·
Conversion
of binary number to Hexa decimal number.
·
(101101)2=(2d)16
(00101101)=(213)16=(2d)16 ans
2. (1100100101)2 = (325)16
001100100101 =(325)16
- convertion of binary fraction to hexa decimal fraction.
- (101101.11111)2 = (2d.f8)16
00101101.11111 =(2d.f8)16
2.(1011110101.1100100101001)2
00101111.1100100100101001= (215.1294)16
= (2f5.c94)16
- RULE- the base of the fraction hexa decimal number 16 bit 24 therefor to convert a binary number to hexa decimal make for byte binary group of the binary number.
- Conversion of Hexadecimal fraction to Binary fraction-
1. (D3FA48.18CD86)16=
(110100111111101001001000.0011011110011000110)2
2. (ACD.B4)16=(101011001101.101101)2
A C D B
4
1010 1101 1101
1011 0100
· Conversion of
Octal number to Hexadecimal number-
1. Octal number
2. Binary number
3. Hexadecimal
number
1. (235)8=(9D)16
(235)8=(010011101)2
2. (462)8=(132)16
(462)8=(100110010)2
(000100110010)=(132)16
- Conversion
of Octal fraction to Hexadecimal decimal-
- (462.571)8=(132.BC8)16
(462.571)8=(100110010.101111001)2
(000100110010.1011110010000)2
=(132.1128)16=(132.BC8)16
· Conversion of
Hexadecimal number to octal number-
RULE- Hexadecimal number
Binary number
Octal number
1. (AD4)16=(5324)8
(AD4)16=(101011010100)2
(101011010100)2=(5324)8
· Conversion of
Hexadecimal fraction to Octal fraction-
(AD4.35)16= (5324.152)8
(AD4.35)16=(101011010100.00110101)2
=(10101101000.00110101010)
(5324.152)8
No comments:
Post a Comment