Sheet 1 Sol
Sheet 1 Sol
ELCT201 Digital Logic Design – spring 2022 Sheet 1 Solution Boolean algebra and Logic Gates
a) 2710 = 000110112
b) 4310 = 001010112
c) 6510 = 010000012
d) 3710 = 001001012
Problem II: Convert the following 2’s complement 8-bit binary numbers to decimal
Problem III: Simplify the following Boolean expressions to a minimum number of literals
b) XZ + X’Y + YZ = XZ + X’Y + YZ (X+X’) = XZ + X’Y + XYZ + X’YZ = XZ (1+Y) +X’Y (1+Z) = XZ+X’Y
d) A’B (D’ + C’D) + B (A + A’CD) = A’B [(D’+C’) (D’+D)] + B [(A+A’) (A+CD)] = A’BD’ +A’BC’ +AB + BCD
####+A+CD] = B [(A+A’) (A+𝑪𝑫
= B [A’D’ + A’C’ +A +CD] = B [A’ (D’+C’) +A +CD] = B [A’ 𝑪𝑫 ####) + CD] = B
####
[A+𝑪𝑫+CD] = B[A+1] = B
Problem IV: Find the complement of F = wx + yz; then show that FF’ = 0 and F + F’ = 1.
a) F1 = XY’ + X’Y
F1’= (XY’+X’Y)’ = (X’+Y). (X+Y’) = X’Y’ + XY => XOR’ = XNOR
b) F2 = (a + c) (a + b’) (a’ + b + c’)
F2’= a’c’+a’b+ab’c
Information and Engineering Technology Faculty
Dr. Tallal Elshabrawy & Dr. Wassim Alexan
ELCT201 Digital Logic Design – spring 2022 Sheet 1 Solution Boolean algebra and Logic Gates
X Y Z F1 A B C F2
0 0 0 0 0 0 0 0
0 0 1 1 0 0 1 1
0 1 0 0 0 1 0 1
0 1 1 0 0 1 1 1
1 0 0 1 1 0 0 0
1 0 1 1 1 0 1 0
1 1 0 1 1 1 0 1
1 1 1 1 1 1 1 0
ELCT201 Digital Logic Design – spring 2022 Sheet 1 Solution Boolean algebra and Logic Gates
(b) Draw the logic diagram, using the original Boolean expression.
1 Five-input OR Gate
(c) Use Boolean algebra to simplify the function to a minimum number of literals.
F = XY’Z + X’Y’Z + W’XY + WX’Y + WXY = Y’Z (X+X’) + W’XY + WY (X+X’) = Y’Z + Y (W’X + W) =
ELCT201 Digital Logic Design – spring 2022 Sheet 1 Solution Boolean algebra and Logic Gates
(c) Obtain the truth table of the function from the simplified expression and show that it is the same
as the one in part (a).
W X Y Z F
0 0 0 0 0
0 0 0 1 1
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0 Same Truth Table
0 1 0 1 1
as in part a
0 1 1 0 1
0 1 1 1 1
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
(e) Draw the logic diagram from the simplified expression, and compare the total number of gates with
the diagram of part (b)
1 Three-Input OR Gate
Information and Engineering Technology Faculty
Dr. Tallal Elshabrawy & Dr. Wassim Alexan
ELCT201 Digital Logic Design – spring 2022 Sheet 1 Solution Boolean algebra and Logic Gates
Problem VIII: Write Boolean expressions describing the outputs of the circuits described by the logic
diagrams in Fig. 1.
Figure 1