Faculty of : ENGINEERING.
Department of : COMPUTER
ENGINEERING
Course:LOGIC DESIGN
..........Code: CMPE 331
Semester :First
Semester..
Date :..
Duration :2
hours
Type of Exam:Quiz Mid-Term
Exam
Final Exam Make-up Exam
App.2
Group
Full Name:
Instructions:
-Exam is over % 40.
-Unless not defined within the question, answer all.
-Unreadable answers will not be graded. Write your answers in detailed
and clear way.
-The names of signals should be used at gate inputs and outputs.
Remember to READ the questions carefully! GOOD LUCK
PART A - QUESTIONS
1. Answer two only:
(4 pts)
a. Convert 9E.C16 to octal system
b. Calculate 37 + (-23) using 2s complement method (use 8
bits)
c. Multiply 10011 x 1010
2. Answer both a and b.
(4 pts)
a. Draw the XNOR gate and write its truth table. When this gate
is useful?
b. Simplify the given expression using Boolean Algebra and De
Morgan rules. (show all steps clearly.)
InstructorsName :
Signature :
ISHIK UNIVERSITY
Faculty of : ENGINEERING.
Department of : COMPUTER
ENGINEERING
Course:LOGIC DESIGN
..........Code: CMPE 331
Semester :First
Semester..
Date :..
Duration :2
hours
Type of Exam:Quiz Mid-Term
Exam
Final Exam Make-up Exam
App.2
b. Output D should be
TRUE if the
Group
number is divisible by 5.
5. Design a 6:1 encoder. (Show all details: block figure, truth table
etc.)
(7 pts)
6. Determine the Boolean function implemented by the 8 x 1
multiplexer given below? Write the output function using the SOP
terms.
(6 pts)
A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
B
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
C D
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
a) S=0 COUT=1
c) S=1 COUT=1
b) S=0 COUT=0
d) S=1 COUT=0
a) Data Selector
c) Equality Comparator
b) Full Adder
d) Demultiplexer
3. Refer to Fig.2, If S1=1 and S2= 0 what will be the logic state at the
output X?
a) X = C
c) X = A
b) X = D
d) X = B
InstructorsName :
Signature :
ISHIK UNIVERSITY
Faculty of : ENGINEERING.
Department of : COMPUTER
ENGINEERING
Course:LOGIC DESIGN
..........Code: CMPE 331
Semester :First
Semester..
Date :..
Duration :2
hours
Type of Exam:Quiz Mid-Term
Exam
Final Exam Make-up Exam
App.2
InstructorsName :
Signature :