5
QuizMultiple Choice

Test: Computing Systems

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

An XOR gate has two inputs: 1 and 1. What is the output?

Answer
A
0
B
-1
C
1
D
There is no output for the inputs are invalid.

Explanation

An XOR gate outputs 1 only when its two inputs are different. Since both inputs are 1, they are the same, so the output is 0. The correct choice is A) 0.

AI-written and checked against the verified answer.

Previous
Next