Loading....

WAEC SSCE - Computer Studies - 2024 (Essay)

Question 1 Report

(i)Explain a logic truth table
(ii) Name two types of logic gate.
(ii) Using the two named logic gates in 4a(ii), complete the truth table in Table 1.

Table 1

 X  Y  Z = X ? Y   Z = X ? Y 
 0  0    
 0  1    
 1  0    
 1  1    

 

(b) Explain the term comparator as a logic device.

Answer Details

a(i)Logic truth table is a mathematical table used to evaluate the truth value of logical statements or arguments. It displays logical operations on input signals in table format.

(ii) Types of logic gate are:
I. OR gate II. AND gate III. NOT gate IV. NOR gate V. NAND gate VI. XOR gate XII. EXNOR gate

(iii)

 X  Y  Z = X + Y (OR)  Z = X - Y (AND)
 0  0  0  0
 0  1  1  0
 1  0  1  0
 1  1  1  1

 

(b) Explanations of the term comparator as a logic device are:

  • * A comparator is a logic device that compares two input values (X and Y) and produces an output based on their relative values. It is basically a digital circuit that determines whether one value is greater than, less than or equal to another.
  • The output is I if the condition is met and O if not.
  • Comparators are commonly used in digital systems for data comparison, error detection, sorting and searching, digital arithmetic circuits, etc.
1
2
3