1. : Which logic gate gives an output of 1 only when both inputs are 1?
(A) OR
(B) AND
(C) NOT
(D) XOR
2. : Which logic gate gives an output of 1 when at least one input is 1?
(A) AND
(B) OR
(C) NOT
(D) XOR
3. : Which logic gate produces the opposite of the input value?
(A) AND
(B) OR
(C) NOT
(D) XOR
4. : Which logic gate gives an output of 1 only when the inputs are different?
(A) XOR
(B) AND
(C) OR
(D) NOT
5. : The output of an AND gate with inputs A=1 and B=0 is:
(A) 0
(B) 1
(C) 2
(D) Undefined
6. : The output of an OR gate with inputs A=0 and B=0 is:
(A) 0
(B) 1
(C) 2
(D) Undefined
7. : The Boolean expression for an XOR gate is:
(A) A + B
(B) A · B
(C) A̅
(D) A⊕B