QUESTION 1
a. Draw a synchronous counter that counts through the following sequence:
0010 ⇒ 0100 ⇒ 0110 ⇒ 0010 ⇒ …
Force all unused states to go to 0010 on the next clock pulse. (7 marks)
b. What is the MOD number of the counter designed in 'a' above? (2 marks)
c. List the steps you will go through to design a MOD-12 counter. (4 marks)
d. Mention an advantage of asynchronous counters over synchronous counters and vice versa. (2 marks)
QUESTION 2
a. If the counter in Figure Q2a starts at 000, what will be the count
i. after 13 clock pulses? (2 marks)
ii. after 99 pulses? (2 marks)
iii. after 256 pulses? (2 marks)
[Figure Q2a: three-stage counter of J-K flip-flops (outputs Q₂, Q₁, Q₀) with all J and K inputs tied to 1; input clock pulses drive the Q₀ stage; all PRE and CLR are HIGH.]
b. Given the ICs in Table Q2b, find the high and low noise margins of the 74ACT and 74AHCT devices in the table. (4 marks)
Table Q2b
| Parameter | 74ACT | 74AHCT |
|---|---|---|
| (min) | 2.0 | 2.0 |
| (max) | 0.8 | 0.9 |
| (min) | 4.9 | 3.2 |
| (max) | 0.1 | 0.1 |
c. Analyse the circuit shown in Figure Q2c1. Given that the initial state of y2 = 0 and the initial state of y1 = 1, draw the timing diagram of z for the given x and clock, C, signals shown in Figure Q2c2. (5 marks)
[Figure Q2c1: two J-K flip-flops (J₁/K₁ giving y₁, J₂/K₂ giving y₂) on a common clock, with input x, an inverter, two AND gates and an OR gate feeding the J and K inputs; output z from an AND gate.]
[Figure Q2c2: clock C of seven pulses; x = 0, 0, 1, 1, 1, 1, 0, 0 across the pulses.]
QUESTION 3
a. What are the four voltage levels defined by the static discipline of a digital system? Briefly explain what each of these levels is. (4 marks)
b. Give two advantages of the digital world over the analogue world. (2 marks)
c. Draw the truth table for a digital circuit that will multiply two 2-bit numbers. For example, if the two 2-bit numbers are and , then the output of the circuit will be the product of and . (9 marks)
QUESTION 4
a. Design a MOD-11 asynchronous counter. (6 marks)
b. Suppose that the A input in Figure Q3c is unintentionally shorted to the +5 V supply line (i.e., A = 1). Draw the resulting output waveform. (3 marks)
[Figure Q3c: waveforms A, B and C feeding a three-input OR gate with output x.]
c. For each of the following expressions, construct the corresponding logic circuit using AND and OR gates and INVERTERs.
i. (3 marks)
ii. (3 marks)
QUESTION 5
a. The trunk of an automobile is opened in one of two ways: by pressing a button on the trunk lid or by pressing the trunk button on the key fob. However, these buttons only open the trunk under certain conditions for safety and security purposes. The logic diagram for this circuit is shown in Figure Q4.
[Figure Q4: inputs FOB, Motor_on, Locked, LID and PBrake; Motor_on and Locked pass through inverters; three AND gates feed an OR gate whose output is Trunk_unlock.]
The output is Trunk_unlock. HIGH activates the latch release and opens the trunk.
The inputs are defined as follows:
| Input | Signal | LOW | HIGH |
|---|---|---|---|
| Button on trunk lid | LID | not pressed | pressed |
| Button on key fob | FOB | not pressed | pressed |
| Condition of door locks | Locked | unlocked | locked |
| Parking brake | PBrake | not set (off) | brake set |
| Engine status | Motor_on | off | motor on |
iv. Write the conditions in English that will open the trunk. (2 marks)
v. Write the Boolean equation using the signal names given. (3 marks)
e. Design a MOD-5 synchronous counter to count the number of people entering a car. At the outputs of the counter, incorporate a circuit that has three outputs, , and . When there are less than 2 people in the car, an output should be HIGH; otherwise, should be LOW. When there are 2, 3 or 4 people in the car, another output should be HIGH; otherwise, should be LOW. When there are 5 people in the car, should be HIGH; otherwise, should be LOW. (10 marks)
QUESTION 6
a. Let a seven-segment display be such that
[Figure: seven-segment display with segments a–g, and the digits 0–9 as shown on it; the digit 1 uses the b and c segments.]
i. Draw a truth table for a BCD to 7-segment decoder that can be used with this display. The input in your truth table will be the BCD values and the outputs will be the signals going to each of the segments. Assume that the inputs and outputs of the decoder are active-HIGH. (4 marks)
iii. Using K-maps, determine the simplified sum of products expressions for outputs a and c of the decoder. (5 marks)
d. Explain the meaning of the following:
i. Propagation delay (2 marks)
ii. Setup time (2 marks)
iii. Asynchronous inputs of flip-flops (2 marks)
QUESTION 7
a. Convert the following binary numbers to decimal: (4 marks)
i. 11000001
ii. 1010111
b. Convert the following decimal numbers to hexadecimal: (2 marks)
i. 32
ii. 78
c. Convert the following decimal numbers to BCD: (2 marks)
i. 32
ii. 78
d. Complete each expression. (3 marks)
i.
ii.
iii.
e. Simplify each of the following expressions using DeMorgan's theorems. (2 marks)
i.
ii. [?]
f. Simplify using Boolean algebra. (2 marks)



