Loading....

WAEC SSCE - Computer Studies - 2018 (Essay)

Question 1 Report

(a) Define logic gate.

(b) Give one example each of: (i) standard logic gate; (ii) alternative logic gate.

(c) Using P and Q as inputs and R as output:

(i) draw the logic symbol for an XOR logic gate: (ii) construct the truth table for XOR logic gate.

(d) List two uses of a logic gate.

Answer Details

(a) A logic gate is an electronic circuit that receives one or more binary inputs, 0 or 1, and produces a single binary output according to a specified logical rule.

(b)

  1. Standard logic gate: AND gate.
  2. Alternative logic gate: NAND gate.

(c)(i) Logic symbol for an XOR gate

The XOR gate gives an output of 1 only when the two input values are different.

figure
Logic symbol of an exclusive-OR (XOR) gate.

R = P ⊕ Q

(c)(ii) Truth table for the XOR logic gate

InputsOutput
PQR = P ⊕ Q
000
011
101
110

(d) Uses of logic gates:

  1. They are used in arithmetic and logic units, such as binary adders in computers.
  2. They are used in control and decision-making circuits, for example traffic-light controllers and burglar alarms.
1
2
3
4
5