Professional Documents
Culture Documents
Assignment No. 1: Digital Logic Design (CS-151)
Assignment No. 1: Digital Logic Design (CS-151)
Assignment No. 1: Digital Logic Design (CS-151)
1
Submitted By:
M ZAHID MUGHAL
Submitted To:
Sir Toseef
BS Information Technology
2nd Semester
Assignment No. 1
Q.1: 11101, 10001011,100110101, 111011, 1011101, 1110101.11
Convert into B=>D, B=>O and B=>H
Binary
11101
Octal
11 101 = 3 5 = 35
10001011
10001011 = 2 1 3 = 213
100110101
111011
111011 = 7 3 = 73
1110101.11
1110101.11 = 1 5 5. 3 =
155.3
Decimal
20+22+23+24 =
1+4+8+16= 29
20+21+23+27
= 1+2+8+128 = 139
20+22+24+25+28 =
1+4+16+32+256 = 309
Hexadecimal
11101 = 1 D = 1D
20+21+23+24+25 =
1+2+8+16+32 = 59
20+22+24+25+26+2-1+2-2 =
1+4+16+32+64+0.5+0.25
=117.75
11011 = 3 B = 3B
10001011 = 8 B = 8B
100110101 = 1 3 5 =
135
1110101.11 = 7 5. 3 =
75.3
Hexadecimal
Binary
Octal
Decimal
F00D
1111 0000
0000 1101
1111000000001101 = 20+22+23+212+213+214+215
=1+4+8+4096+8192+16384+32768 = 61453
FEED
1111 1110
1110 1101
CAF
1100 1010
1111 1110
EF.EE
1110 1111.
1110 1110
1111111011101101 =
20+22+23+25+26+27+29+210+211+212+213+214+215
=1+4+8+32+64+128+512+1024+2048+4096+81
92+16384+32768 = 65263
1100101011111110 =
21+22+23+24+25+26+27+29+211+214+215
=2+4+8+16+32+64+128+512+2048+16384+327
68 =50942
11101111.11101110 = 20+21+22+23 +25+26+27+21
+2-2+2-3+2-5+2-6+2-7
DAC.1BA
1101 1010
1100. 0001
1011 1010
1D.6C
0001 1101.
0110 1100
110110101100.000110111010 = 22+23+25
+27+28+210 +211+2-4+2-5+2-7+2-8+2-9+2-11
=4+8+32+128+256+512+1024+2048+0.125+0.0
625+0.015+0.0078 = 4012.2103
00011101.01101100 = 20+22+23 +24+2-2+2-3+25+2-6 = 1+4+8+16+0.5+0.25+0.0625 = 29.8125