Cape Computer Science Past Paper Project On Module 1 Questions - Computer Architecture
Cape Computer Science Past Paper Project On Module 1 Questions - Computer Architecture
X Y Z
0 0 0
0 1 1
1 0 1
1 1 0
X
Z
Y
[2] Explain how a 4 bit binary counter works specifying the range of values counted.
A four bit counter would require four flip flops and for the counter that would mean two to the
power of N states (2n) which would determine how many counts each flip flop would have. For a
four bit counter the number of states may be (24 = 16) meaning it would have 16 states. A four
or count upwards to 15 (1111 in binary) and then start new counting cycle by getting reset.
[3] Using the primary logic gates design and draw the circuit for the truth table below.
X Y Z
0 0 1
0 1 1
1 0 0
1 1 0
X
Z
[4] Write down the truth table (i.e. list all the possible input bit patterns and their corresponding
outputs) for the circuit below.
P
Q
TRUTH TABLE
P Q R (P,Q)
0 0 0
0 1 0
1 0 0
1 1 0