Q1) Which logic gate gives a HIGH output only when all of its inputs are HIGH?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate
Q2) What is the output of an OR gate if both inputs are LOW?
a) HIGH
b) LOW
c) Can't be determined
d) Depends on the gate configuration
Q3) Which logic gate produces a HIGH output when either of its inputs is HIGH, but not both?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate
Q4) A NAND gate is a combination of which two basic logic gates?
a) OR and NOT gates
b) AND and NOT gates
c) XOR and NOT gates
d) AND and OR gates
Q5) What is the output of a NAND gate if one input is LOW and the other is HIGH?
a) HIGH
b) LOW
c) Depends on the gate configuration
d) Can't be determined
Q6) What is the output of a NOR gate if both inputs are HIGH?
a) HIGH
b) LOW
c) Can't be determined
d) Depends on the gate configuration
Q7) Which logic gate performs addition in binary arithmetic?
a) AND gate
b) OR gate
c) XOR gate
d) Half adder
Q8) In a XOR gate, the output is HIGH if:
a) Both inputs are HIGH
b) Both inputs are LOW
c) Either input is HIGH, but not both
d) Neither input is HIGH
Q9) The output of a NOT gate is the:
a) Complement of the input
b) Sum of the input
c) Product of the input
d) Square of the input
Q10) Which logic gate produces a LOW output only when both inputs are HIGH?
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate
Q11) A XOR gate is also known as:
a) Universal gate
b) Exclusive OR gate
c) Inverter gate
d) Buffer gate
Q12) The output of an AND gate is LOW when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above
Q13) The output of an OR gate is HIGH when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above
Q14) Which gate is the complement of an AND gate?
a) OR gate
b) NAND gate
c) XOR gate
d) NOR gate
Q15) A logic gate that inverts its input is called:
a) AND gate
b) OR gate
c) XOR gate
d) NOT gate
Q16) The output of a NOR gate is HIGH when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above
Q17) The output of a NAND gate is LOW when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above
Q18) Which gate is the complement of an OR gate?
a) AND gate
b) NAND gate
c) XOR gate
d) NOR gate
Q19) The output of an XOR gate is HIGH when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above
Q20) The output of an XNOR gate is LOW when:
a) Both inputs are LOW
b) Both inputs are HIGH
c) One input is HIGH and the other is LOW
d) None of the above