17 The diagram shows the combination of AND gate , OR gate and NOT gate.
Which of the following is the correct truth table for output C?
A A B C B
A B C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
C A B C D
A B C 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 1 0
18 The table shows a truth table for a combination of logic gates. P Q R 0 0 1 0 1 0 1 0 0 1 1 0
Which of the following is true to show a circuit according to the truth table above?
19 The figure shows a OR gate with input signals P and Q.
Which of the following is the output signal of the OR gate?
20 The figure shows a OR gate with input signals P and Q.
Which of the following is the output signal of the OR gate?
21 The diagram shows a logic gate circuit with input signals, K and L.
Which of the following output signals is produced by the logic gate circuit?
22 (a) The diagram shows a logic gate ,L with input signals A and B.
(i) Name the logic gate L.
.. (ii) Draw the output signal C in the graph below.
(c) Later , logic gate L is connected to logic gates M and N as shown in the diagram below.
(i) Complete the truth table below.
X Y Z 0 0 0 1 1 1 1 1
(ii) State the Boolean algebraic to relate X, Y and Z.
.......................................................... 23 The diagram shows a circuit is used as a safety system in a house.
(a) Name logic gate R.
............................................................................. (b) Using two switches , two dry cells and a bulb draw a circuit that equivalent to logic gate S.
(c) The following truth table represents the logic gate in the figure above. A B L M 0 0 0 1 1 0 1 1
(i) Complete the truth table above.
(ii) State the Boolean algebraic to relate L, A and B.
............................................................ (ii) What happen to door and the gate when the main switch is closed?
............................................................ 24 (a) Figure shows a circuit made up from a combination of a few basic logic gates.
Figure (a)
(i) Based on the arrangement of the logic gates in the Figure (a) complete the truth table below.
Input Output K L M 0 0 0 1 1 0 1 1
(ii) State a single logic gate which produced the same output as the output in (a)(i).
.. (b) Figure(b) shows a circuit diagram of a vending machine . The vending machine accepts 10 sen coins, 20 sen coins and 50 sen coins. Three light dependent resistors (LDR) , X , Y and Z are used to check the size of coins slotted in the machine. The light sources of the slot machine where the coins are slotted are as shown in Figure (c).
Figure (b)
Figure (c)
(i) Complete the truth table in the table below.
State of LDR Input Output X Y Z K L M S No coin
0 10 sen
0 20 sen
Bright
Dark
Dark
0
1
1
0 50 sen
1
(ii) Name the gate that is probably in the black box.
25 The diagram shows a logic gate system is used in a factory to ensure the volume of paint in containers is within the predetermined range.
The operation of the system is shown in the truth table below.
Volume of the paint Input X Input Y Output Z less 1 1 1 in the range 1 0 0 exceed 0
0 1 (a) (i) Name the detector used.
.. (ii) Explain why input X is 0 when the volume of the paint exceed.
.. (b) (i) Using two NOT gates and an AND gate, draw a circuit to represent the truth table above.
(ii) State the Boolean algebraic to relate X, Y and Z.
26 Ali wishes to design a security system in his house as shown in Figure (a). When a person crosses the infrared beam at night, the infrared sensor will send a signal to a logic gate which then lights up a spotlight. The spotlight has a 240 V alternating current (a.c.) supply and will only light up at night.
Figure (a) The circuit that could help Ali to develop the security system is shown in Figure (b).
Figure (b) (a) If the potential difference across resistor W is 2V, what is the potential difference across the infrared sensor?
. (b) Component X has a high resistance when the surroundings are dark and a low resistance in bright surroundings. Name the component X.
. (c) Component S is a switch that connects the 240 V a.c. spotlight circuit. (i) What type of switch is component S?
.. (ii) Why is component S necessary in the circuit?
..
..
..
.. (d) The following truth table shows the operation of a logic gate in the circuit in Figure (b).
Key:
Dark high input logic1 surroundings voltage at P
Bright low input logic0 surroundings voltage at P
Person high input logic1 crossing voltage at Q the path
Nobody low input logic0 crossing voltage at Q the path
Switch S high input logic1 is ON voltage at R
Switch S low input logic0 is OFF voltage at R
Input P Output Q Output R Surroundings Input voltage at P Person crossing Input voltage at Q
Bright 0 No 0 Bright Yes Dark No Dark Yes (i) Using the given key, complete the truth table above. (ii) Name the logic gate in the circuit in Figure (a).
. (iii) Sketch the symbol of the logic gate in (d) (ii).
27 A student wants to build s simple lift motor control system which operates using two buttons, A and B, for a two-storey building.
A: Up button B: Down button
The lift motor only activates when someone presses any one of the buttons. Figure (a) shows the circuit that can be used to activate the motor.
Figure (a)
Keys:
Buttons A and B: When pressed, logic 1 Not pressed, logic 0 X Output : Motor is activated,logic 1
(a) The table is a truth table which shows the operations of the logic gates in a lift motor. Using the keys given, complete the table.
A B X 0 0 0 1 1 0 1 1
(b) Why is a relay switch needed in the circuit?
(c) The door of the lift is fitted with a light transmitter and a detector which is a light dependent resistor. If the light dependent resistor detects light, the relay switch is activated and the lift door will close. Figure (b) shows an electronic circuit for the control system of the lift door.
Figure (b) (i) State the relationship between the resistance and the intensity of light received by the light dependent resistor.
.
.. (ii) Complete the circuit in Figure (b), by drawing the resistor and the light dependent resistor using the symbols given below.