Escolar Documentos
Profissional Documentos
Cultura Documentos
SEE 1223
SULIT
SECTIONS : 01 / 02 / 03 / 04 / 05/ 10
TIME : 2 HOURS
DATE :
INSTRUCTIONS :
1. Convert
2. The pin diagram of 7400 chip (quad 2-input NAND gates) is shown in Figure A(i).
Copy the diagram on your answer script and identify pin 1 and pin 14 as well as the
DC supply VCC and GND pins on the diagram.
[4 marks]
Figure A(i)
4. F(A,B,C,D) = (1, 3, 5, 9, 13, 15) and don't care = D(2, 4, 7, 12, 14).
5. A medium scale integrated circuit (MSI circuit) accepts four inputs and produces two
outputs as shown in the Table A(i). X indicates dont care conditions. Give a suitable
name for this circuit.
[3 marks]
Table A(i)
I3 I2 I1 I0 O1 O0
0 0 0 1 0 0
0 0 1 X 0 1
0 1 X X 1 0
1 X X X 1 1
6. Figure A(ii) shows a 4-1 multiplexer with a D flip-flop. Copy the diagram on your
answer script and show how these two devices can be connected to become a J-K flip-
flop. The J and K inputs are connected to the select bits S1 and S0 respectively. You
can't use any additional gates.
[4 marks]
I0 D0 Q0
I1
I2 F
I3 Q0
S1 S0
Figure A(ii)
7. Figure A(iii) is a logic symbol of a 4-bit parallel adder. If X [X3..X0]= 1111 and
Y[Y3..Y0] = 0101, show how this chip can be used as a 4-bit subtractor X - Y. Copy
the diagram on your answer script and label the diagram with the input and output
values. [Hint : 2's complement = 1's complement + 1]
[4 marks]
-4-
SEE 1223
X3 X2 X1 X0
A3 A2 A1 A0 B3 B2 B1 B0
Cin
Cout S3 S2 S1 S0
Figure A(iii)
8. A hybrid home theatre system is shown in Figure A(iv). A compact disc (CD) is read
by the CD drive. What is the
CD drive speaker
Converter X
Figure A(iv)
-5-
SEE 1223
Question 1
00 1 0 X 0
01 0 1 1 1
11 0 1 1 1
10 1 0 X 0
Figure Q1(a)
(b) The block diagram and the truth-table of a combinational logic circuit are shown in
Figure Q1(b) and Table Q1 respectively.
A1 P8
A0 P4
B1 P2
B0 P1
Figure Q1(b)
-6-
SEE 1223
Table Q1
A1 A0 B1 B0 P8 P4 P2 P1
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 0
0 1 0 1 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 1 0 0 1 1
1 0 0 0 0 0 0 0
1 0 0 1 0 0 1 0
1 0 1 0 0 1 0 0
1 0 1 1 0 1 1 0
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 1
1 1 1 0 0 1 1 0
1 1 1 1 1 0 0 1
(i) Obtain the minimized SOP expression for output P2 using Karnaugh Map.
[4 marks]
(ii) Implement P2 in NAND-NAND configuration.
[3 marks]
(iii) Implement P1 using one 4-to-1 multiplexer only without any additional gates.
[4 marks]
(iv) Suggest a suitable name for the combinational logic circuit operation.
[2 marks]
-7-
SEE 1223
Question 2
(a) A 2-to-4 line decoder (active-HIGH output) and an OR gate can be used to realize the
function F(A, B) = M (1, 3) . By using your inspired creative and innovative minds,
show how this same function can be implemented using a 3-to-8 line decoder (active-
HIGH output) shown in Figure Q2(a) with 2-input OR gates only. A and B should be
connected to the select bits S2 and S1 of the decoder respectively.
[6 marks]
O0
O1
S2 O2
O3
S1
O4
S0
O5
O6
O7
Figure Q2(a)
A Q
B Q
Figure Q2(b)
(i) Identify the type of circuit, draw the logic symbol and write down the truth
table for this particular circuit.
[3 marks]
(ii) Using the logic symbol drawn in part (i), construct the simplest positive edge-
triggered J-K flip-flop. You may add additional gates, if necessary. Show also
the positive edge-triggering circuit and draw the logic symbol.
[3 marks]
-8-
SEE 1223
(iii) By using the logic symbol of J-K flip-flop in part(ii), show how this flip-flop
can be modified to make a D and a T flip-flops.
[2 marks]
(c) Sketch the output waveforms Q1 and Q2 for four clock pulses for the circuit shown in
Figure Q2(c). Q1 and Q2 are initially 0.
[6 marks]
D Q1
J Q2
K
CLK
Figure Q2(c)
-9-
SEE 1223
Question 3
Figure Q3(a)
(a) Give two advantages of designing the counter using D flip-flops instead of J-K flip-
flops.
[4 marks]
D0 Q0
Combinational
D1 logic circuit Q1
D2 Q2
D2 Q2
Q2
D1 Q1
Q1
D0 Q0
Q0
CLK
Figure Q3(b)
- 10 -
SEE 1223
(b) The block diagram of the counter for the given state transition diagram is shown in
Figure Q3(b).
Question 4
(a) (i) Show how a NOT function is implemented using each of the following gates;
2-input NOR gate, 3-input NAND gate and 2-input XOR gate.
[6 marks]
(ii) Implement a 3-input OR function using minimum number of 2-input
NAND gates only.
[4 marks]
(b) A ROM circuit to implement various logic operations is shown in Figure Q4.
O0 1 0 0
O1 0 1 0
SEL S2 O2 0 1 0
A S1 O3 0 0 1
O4 1 1 0
B S0
O5 1 0 1
O6 1 0 1
O7 0 1 1
F2 F1 F0
Figure Q4
(iii) The ROM also stored the data for a 1-bit full-adder. Explain how you can
retrieve the data for the full-adder.
[4 marks]
- 12 -
SEE 1223
APPENDIX
BOOLEAN ALGEBRA
Boolean's Theorem
Theorem 1 A0A A.1 A
Theorem 2 A A 1 A.A 0
Theorem 3 AAA A.A A
Theorem 4 A 1 1 A.0 0
Theorem 5 AA
Theorem 6 A B B A A.B B.A
Theorem 7 A (B C) (A B) C A.(B.C) (A.B).C
DeMorgan's Theorem
(i) A.B A B
(ii) A B A.B