Professional Documents
Culture Documents
DLD 1st Sessional Exam.
DLD 1st Sessional Exam.
Q1.a) Convert the unsigned byte (76)10 to hexadecimal (Marks 2.5) (CLO1 PLO1)
b) Convert the signed byte (D4)16 to decimal. Assume signed byte is in two’s complement
8 bit number (Marks 2.5)
c) Convert – (265)10 to hexadecimal (16 bits two’s complement notation) (Marks 2.5)
d) Sign extend the 6-bit 2’s complement binary number 111000 to an 8-bit 2’s complement
binary number. Then express this number in hexadecimal. (Marks 2.5)
Q2. a) Use only “OR” & “NOT” gates to implement following Functions. (Use DeMorgan’s
Theorem) (CLO 2 PLO 1)
i) F = XY + XZ + YZ (5 Marks)
ii) F = (X+Y)(X+Z)(Y+Z) (5 Marks)
b) Use only “AND” & “NOT” gates to implement following Functions. (Use DeMorgan’s
Theorem)
i) F = XY + XZ + YZ (5 Marks)
ii) F = (X+Y)(X+Z)(Y+Z) (5 Marks)
(c) Simplify the function to a minimum number of literals using Boolean algebra and
compare the result with (b). (4 Marks)
(d) Obtain the truth table of the function from the simplified expression and show that it is
the same as the one in part (a). (4 Marks)
(e) Draw the logic diagram from the simplified expression and compare the total number of
gates with the diagram of part (a). (4 Marks)