Professional Documents
Culture Documents
EE234 Final Exam Fall 2023-11 - Annotated
EE234 Final Exam Fall 2023-11 - Annotated
Final Exam
Q1.c) For the circuit shown on the right, write down 𝑋(𝐴, 𝐵, 𝐶)
and 𝑌(𝐴, 𝐵, 𝐶) in the minimized form. [4 marks]
Q1.c
Q2) Consider an NB flip-flop with inputs N and B. This flip-flop can perform three operations:
1) It sets its state to 1 when both inputs are high. 2) It resets its state to 0 when both inputs are
low. 3) It toggles (or complements) its current state when the inputs differ.
a) Provide the state table for the NB flip-flop from the above description. [3 marks]
b) Provide the NB flip-flop's excitation table. [3 marks]
c) Show how to construct a JK flip-flop using the NB flip-flop. [3 marks]
Q3) Develop a one-input, one-output serial 2’s complementer that operates on a bit string
received at the input and produces the 2’s complement at the output.
a) Draw the state diagram for the serial 2’s complementer. [3 marks]
b) Write down the state table for the serial 2’s complementer. [4
marks]
c) Implement the circuit using T flip-flops. it should support asynchronous reset capability
for initiating and terminating the operation [3 marks]
Q4.a) Design a four‐bit shift register with parallel load using D flip‐flops. There are two control
inputs: shift and load. When shift = 1, the content of the register is shifted left by one position.
New data are transferred into the register when load = 1 and shift = 0. If both control inputs are
equal to 0, the content of the register does not change. [6
marks]
Q4.b) Using a 4-bit binary counter and logic gates, design a counter that counts 0, 1, 2, 3, 4, 5,
8, 9, 10, 11, 12, 13 and repeats. Note: Clear is an asynchronous input, and Load is a
synchronous input. [6 marks]
Q5) For the following state diagram: