Question 1 (20 marks)
1a. Find the 9's and 10's complement of the following numbers: I. 3456 II. 875 III. 394 (3 marks)
1b. Convert the following binary numbers to decimal: i. 11011.101₂ ii. 1001011₂ (3 marks)
1c. Add the following binary numbers together: i. 1010 and 111 ii. 1101.101 and 111.011 (4 marks)
1d. Complete Table 1 below. (6 marks)
| s/n | Given number | Sign magnitude form | 2's complement form | 1's complement form |
|---|---|---|---|---|
| 1 | 01101 | |||
| 2 | 010111 | |||
| 3 | 10111 | |||
| 4 | 1101010 |
1e. Convert the following binary numbers to octal: i. 110101.101010₂ ii. 10101111001.0111₂ (4 marks)
Question 2 (20 marks)
2a. Convert the following to binary: I. 4BAC₁₆ II. 3A9E.B0D₁₆ (4 marks)
2b. Convert the following binary numbers to hexadecimal: i. 1011011011₂ ii. 0101111011.011111₂ (4 marks)
2c. Add 3BCA.5078₁₆ + 9EBD.97F3₁₆ + 5FB.E2C₁₆ (2 marks)
2d. Perform the following decimal subtractions in the 8421 BCD code: i. 38 − 15 ii. 258 − 147 (4 marks)
2e. Perform the following additions in XS-3 code: i. 5 + 3 ii. 37 + 28 iii. 247.6 + 359.4 (6 marks)
Question 3 (20 marks)
3a. Show that A ⊕ B = AB′ + A′B and construct the corresponding logic diagrams. (10 marks)
3b. Given the waveforms A, B and C as shown in Fig Q3b below are applied to a 3-input AND gate, determine the resulting output waveform. (5 marks)
[Fig Q3b: HIGH/LOW waveforms A, B and C.]
3c. Obtain the output waveform of a two-input OR gate in relation to its inputs A and B shown in Fig Q3c below. (5 marks)
[Fig Q3c: HIGH/LOW waveforms A and B, with time intervals t₁ … t₅ marked.]
Question 4 (20 marks)
4a. If the three waveforms A, B and C as shown in Fig Q4a below are to be X-ORed, determine the output waveform. (3 marks)
[Fig Q4a: HIGH/LOW waveforms A, B and C.]
4b. Draw the logic diagram and construct the truth table for the following expressions: (4 marks)
I. X = A + B + (CD)′ II. Y = (AB)(A + B)′ + (EF)′
4c. A 4×1 multiplexer has four data inputs I3, I2, I1 and I0, two selection lines s1 and s0, and one output Y.
i. Show the block diagram of the 4×1 multiplexer. (4 marks)
ii. Show the truth table of the 4×1 multiplexer. (4 marks)
iii. From the truth table, write the Boolean function for the output. (1 mark)
iv. Implement the Boolean function in (iii) using inverters, AND gates and OR gates. (4 marks)
Question 5 (20 marks)
5a. Apply DeMorgan's theorem to the expression given below: (5 marks)
[(AB)′(CD + E′F)((AB)′ + (CD)′)]′
5b. Reduce the following expressions: (10 marks)
i. A + B[AC + (B + C′)D] ii. (b + bc)(b + b′c)(b + d)
5c. Show that AB′C + B + BD′ + ABD′ + A′C = B + C (5 marks)
Question 6 (20 marks)
6a. i. Generate an expression from the logic diagram shown in Fig 6a below. (2 marks)
ii. Simplify the generated expression. (2 marks)
iii. Draw the logic diagram of the simplified expression. (2 marks)
[Fig Q6a: inputs A–D through an inverter and gates into a final gate giving the output.]
6b. Expand the following expressions to minterms and maxterms: (14 marks)
i. A + BC′ + ABD′ + ABCD
ii. A(A′ + B)(A′ + B + C′)
Question 7 (20 marks)
7a. Reduce the expression ∏M(2, 8, 9, 10, 11, 12, 14) using mapping and implement it in universal logic. (5 marks)
7b. A 2-to-4 decoder has two inputs A1 and A0 and four outputs Y3, Y2, Y1 and Y0.
i. Show the block diagram of the 2-to-4 decoder. (3 marks)
ii. Show the truth table of the 2-to-4 decoder. (4 marks)
iii. From the truth table, write the Boolean functions for each output. (4 marks)
iv. Show the circuit diagram of the 2-to-4 decoder. (4 marks)

