3
QuizMultiple Choice

You Will Never Walk through This Gate

Question 3 • Skelton - GSN - Computer Science Principles Semester A

If either the front doorbell or back doorbell is pressed, the doorbell will ring. Which logic gate applies? Input A = The front doorbell is pressed. Input B = The back doorbells is pressed. Output Y = The bell rings

Answer
A
AND gate
B
NOT gate
C
OR gate
D
XOR gate

Explanation

An OR gate produces an output when either input is true, or when both inputs are true. Here, pressing the front doorbell or the back doorbell makes the bell ring, so the correct choice is the OR gate.

AI-written and checked against the verified answer.

Previous
Next