Test 3 Solutions
Test 3 Solutions
Test 3 Solutions
Marks
Name:
Lecturers Name: / 30
*The use of calculator is not allowed.
LE
i Latch has clock as one of the input pin. F
ii Counter can be used as frequency divider. T
iii To count 0 till 6, two unit of flip flops are required. F
iv It is easier to design an asynchronous counter than synchronous counter. T
SA (4 marks)
When J and K are both high (JK=11), the output toggles (in SR latch is forbidden).
c) With the given input waveforms, sketch the output waveform Q of the JK flip flop in
Figure Q1. (4 marks)
T
O
N
Deduct 1 mark for each mistake on Q (each clock cycle). Max 4 mark if no mistake.
Page 1 of 5
Faculty of Electrical Engineering, UTM
SKEE 1223 Digital Electronics / Session 2015/2016-2
Date: 23th May 2016 Time: 8.30 9.30pm
TEST 3
Figure Q2a
i. Sketch the output waveform for 8 clock cycles. The initial state is Q2Q1Q0 = 000.
(3 marks)
LE
SA
R
FO
1 mark for each correct waveform of Q2, Q1 and Q0. Total 3 marks.
ii. If Q2 and Q0 are the most and least significant bits. Determine the sequence of the
T
counter in decimal.
(1 marks)
O
0 1 2 3 4 5 6 7 0
1 mark for correct sequence.
N
Page 2 of 5
Faculty of Electrical Engineering, UTM
SKEE 1223 Digital Electronics / Session 2015/2016-2
Date: 23th May 2016 Time: 8.30 9.30pm
TEST 3
b) Sketch the output waveform F for 8 clock cycles. The initial state is Q2Q1Q0 = 000.
(6 marks)
LE
SA
R
FO
1 mark for each correct waveform of Q2, Q1 and Q0. Total 3 marks.
T
1 mark for correct waveform for F: 5th and above clocks as repeating waveform.
N
Page 3 of 5
Faculty of Electrical Engineering, UTM
SKEE 1223 Digital Electronics / Session 2015/2016-2
Date: 23th May 2016 Time: 8.30 9.30pm
TEST 3
a) From the given truth table in Table Q3, design a comparator circuit. Clearly show all
the steps in your design.
(6 marks)
LE
1 mark for each correct K-map with logic equation.
SA
R
FO
T
Page 4 of 5
Faculty of Electrical Engineering, UTM
SKEE 1223 Digital Electronics / Session 2015/2016-2
Date: 23th May 2016 Time: 8.30 9.30pm
TEST 3
LE
b) Figure Q3 shows two unit of half adders and two unit of NOR gates. From the given
circuit, design a full adder.
SA (3 marks)
R
FO
T
O
Full adder can be easily extended to ripple carry adder for adding multiple bit binary
numbers.
OR
Half adder is limited to adding two single bit numbers and cannot be directly used for
ripple carry adder.
Page 5 of 5