Quiz-Logic Gates and Circuits
Quiz-Logic Gates and Circuits
circuits
Quiz
1. Which of the following statement is FALSE about logic gates?
A. Logic gates are the building blocks of electronic circuits.
B. It is used in computer components like memory.
C. A combination of logic gates is called logic circuit.
D. A logic gate understands binary language.
E. None of the above
3. A logic circuit has 4 inputs. How many output combinations are possible?
A. 8
B. 16
C. 32
D. 4
4. A logic circuit has n inputs. How many output combinations are possible?
A. 2×n
B. 2n
C. n÷2
5. Which of the following is FALSE about the NOT gate?
A. Output of NOT is complementary to the input
B. When the input to NOT gate is 0, the output is 1.
C. A NOT gate has two input signals and an output signal.
D. None of the above
8. An AND gate has two inputs A and B. What is the Boolean expression for
this logic gate?
A. A^B
B. A˅B
C. ¬A^B
9. What is the Boolean expression for this logic gate?
A
X
B
A. X=A^B
B. X=A˅B
C. X=A*B
A X
A. X=˅A
B. X=&A
C. X=¬A
A
gate 1
B Output, X
Whole gate 3
C
gate 2
D
12. How many intermediate outputs do you require to realise the truth table of
this logic circuit?
A. 1
B. 2
C. 3
D. 4
15. What is the output (X) of gate 3, when A=1, B=1, C=1 and D=0?
A. 0
B. 1
16. What is the output (X) of gate 3, when A=0, B=1, C=1 and D=1?
A. 1
B. 0
19. How many output bits are required for a two-bit binary adder?
A. 1
B. 2
C. 3
20. Which of the following is the correct logical expression for sum of a 2-bit
binary adder?
A. Sum S = (A AND B) OR ((NOT A) AND (NOT B))
B. Sum S = ((NOT A) AND B) OR (A AND (NOT B))
C. Sum S = ((NOT A) OR B) AND (A OR (NOT B)).
21. Look at the truth table given below.
Input Output
A B X
0 0 1
0 1 0
1 0 0
1 1 1
Which of the following logic statement holds good for this truth table?
A. X= (A AND B) OR ((NOT A) AND (NOT B))
B. X= (A OR B) AND ((NOT A) OR (NOT B))
C. X= (A AND B) OR (NOT (A AND B))
22. Look at the truth table given below.
Input Output
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
Which of the following logic statement holds good for this truth table?
A. X= A˅B˅C
B. X= (A^B^¬C) ˅ (A^¬B^C) ˅ (¬A^¬B^C)
C. X= (A^B^C) ˅ (A^B^C) ˅ (A^B^C)
D. X= (A^B^¬C) ˅ (A^¬B^C) ˅ (¬A^B^C)
23. A chemical process in a industry is monitored and controlled by a logic
circuit. There are three inputs to this logic circuit representing the
important parameters in a chemical process. An alarm X, is switched ON
depending upon certain conditions for the safety of workers in the
industry. The process conditions are:
Parameter Binary
Description of condition
description value
0 Temperature >100 °C
Process
temperature (T)
1 Temperature <=100 °C
0 Concentration = 3mol
Concentration of
chemicals (C)
1 Concentration > 3mol
An alarm X is switched ON if: R >= 50 mol/l/sec AND T <=100 °C OR C > 3mol
AND T >100 °C
Which of the following represent the logic circuit for this scenario?
A. X= R˅T˅C
B. X= (R^T^C) ˅ (R^¬T^C)
C. X= (R^T) ˅ (C^¬T)
D. X= (R˅T) ^ (C˅T)