Question No. 1: Convert the following Binary Number into Decimal Numbers. Show full procedure a.
(1110010) 2
Solution (1110010) 2
= 1x 26+1x 25+1x 24+0x 23+0 x 22+1x 21+0x 20 = 64+32+16+0+0+2+0 = (114) 10
b. (10001100)2 Solution (10001100)2 =1x 27+0x 26+0x 25+0x 24+1x 23+1 x 22+0x 21+0x 20 = 128+0+0+0+8+4+0+0 = (140) 10 Question No. 2: Convert the following Decimal Numbers into Binary Numbers. Show complete procedure. a. 75 Solution 2 2 2 2 2 2 2
75 37 18 9 4 2 1 (75)10 = (1001011)2
1 1 0 1 0 0
b. 120 Solution 2 2 2 2 2 2
120 60 30 15 7 3 1 (120)10 = (1111000)2
0 0 0 1 1 1
Question No. 3: You are given there three Boolean variables as truth table for the expression given below.
x, y and z. Determine the
( x XOR y )’ . z Solution
x
y
z
x XOR y
(x XOR y)’
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 0 1 1 1 1 0 0
1 1 0 0 0 0 1 1
(x XOR y)’. z 0 1 0 0 0 0 0 1