Dcit 203 21
Dcit 203 21
UNIVERSITY OF GHANA
(All rights reserved)
2020/2021
l
(3 CREDITS)
INSTRUCTION:
TIME ALLOWED:
Q1 (a) Draw a truth table for 4-input AND, OR, NOR, and NAD gates. [8 marks]
b) Draw the truth table for the expression F(X, Y, Z) = (X + Y')(Y + Z)(X' + Z')
[6 marks]
c) Show the output ofthe following logic circuits:
(Ü (ii)
i
3(iii)
ä @*1
Ä}
¤ Ü,... [6 marks]
Q2 (a) Why are the NAND and NOR gates considered to be Universal gates? Explain with
examples. [8 marks]
Q4 (a) Write the standard form ofthe following SOP and POS expressions
(1) AB + AÜ + ÄEC+ ÄBCÜ [2 marks]
(b) Use the Quine-McCluskey tabular method to simplify the expression [7 marks]
(c) Consider the logic function described by the following truth table:
_ A B C D | Y
0 0 0 O 0
0 0 0 1 1
O O 1 O O
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0
l
(b)Compute the hexadecimal equivaIentof101 100} } 10.01 1011101iwa [2 marks]
(c) Assume an arbitrary number system has 0, 1, 2, 4, L and M as its independent digits. What
is the radix ofthe number system and determine the decimal equivalent of 12LM.L1? ‘
[6 marks] 1
(d) Assume an ALU is expected to perform the following division and multiplication, evaluate
how the operations will be carried out within the ALU and the output displayed for a user on a
monitor.
(i) 28.75 divided by 14,375 [5 marks]
Q6 (a) Construct a truth table and a logic circuit that emits the following repeating 2-bit
Your circuit should have 2 bits of output, as well as incoming clock and clear inputs.
Every 6 cycles of the clock should progress through this sequence, which should "wrap
around" and repeat with the next 6 clock cycles. You may use basic memory devices such as
(b) Create a circuit that calculates a < b, where a and b are 4—bit, two’s—complement values.
This circuit should have a 1-bit output that is 1 when a < b, and 0 otherwise.
—
[Hint: Note that a < 0, a b < 0, implying that subtraction is likely a useßxl operation here]
[10 marks]