’ Faculty of Computers and Artificial Intelligence
a Cairo University ayia eye
to oll ae
Cso)\ Final Exam (2018/2019) “
Department: Information Technology Date; 15/1/2020
Course Name: Logic Design Duration: 2 hour
Examiners: Prof. Khaled M, El Sayed Total Marks: 60
Dr. Walid M, Ibrahim
———
Jota sie Jasna &
ha iy Gate ed 2 La S98
all oh Slee Qa gona Sa 4 2 IS IB lll Cap gad Lib Un png GY a ane vl ae
the cus tahsel y Sint Jala last Hed
Ub Ue fs Uy
ANSWER THE FOLLOWING QUESTIONS [10 marks
\Question I
; -bit magnitude comparat
(a) Use Basic Logic Gates ONLY (AND, OR, NOT) to design a ONE-bit magn!
with two inputs AO and BO and three outputs (>, <, =)-
(b) Convert your design to NAND ONLY Implementation
(c) Use the above designed one-bit comparator (as a black box with two inputs ‘nd ee
outputs) to design a three-bits comparator (A {AO , Al , A2} and B {BO , B1 , B2}) to
check if A >B or A=B
(d) Do the simplest modification on the above design to check if A