50Easy
0/3

A dual-switch lighting system in a smart home uses an XOR (Exclusive OR) logic gate to determine whether a hallway light is illuminated. The two switches, A A\,A and BBB, provide binary inputs to the gate, and the output Q Q\,Q controls the light.

Complete the truth table for this XOR logic gate by identifying the correct values for XXX, YYY, and ZZZ.

Switch AAASwitch BBBLight Output QQQ
000
01XXX
10YYY
11ZZZ
[3]

Boolean logic Questions

Practise AQA GCSE Computer Science Boolean logic with exam-style questions for GCSE Computer Science. 83 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Boolean logic Questions

  1. GCSE
  2. /Computer Science
  3. /Boolean logic