A Leeds station display lights up if either signal is on. What if both should cancel?
A display at a Leeds station lights up if either of its two signals is on. It even lights up when both are on. What would you change if the display should light up only when exactly one signal is on?
Try the row where A is zero, B is one and C is zero. NOT turns A into one. AND gets that one and a one from B, so it sends out one. OR gets that one and a zero from C, so Q is one.
First, A passes through NOT, so put a bar over A. The dot joins that result to B at AND. Put brackets around that whole result to keep it together. The plus sign then joins it to C at OR.
Look at the part inside the brackets: A with a bar over it, dot B. Which two signals go into the AND gate? Pick the option that matches exactly what the bar covers.
Write the expression one gate at a time. The first line gives you NOT A. The second line shows that signal going into AND with B. Now put brackets around the AND result and write plus C for the final OR gate.
This time B goes through NOT. A and the inverted B then feed AND. The AND result and C feed OR. Which expression matches this changed circuit? Pick the one with the bar and brackets in the right places.
Draw the circuit for this expression. The bar over A tells you to put NOT on the A wire. The dot inside the brackets sends that result and B into AND. The plus outside the brackets sends the AND result and C into OR, whose output is Q.
Swap the final plus for a circled plus, XOR. XOR outputs one for exactly one input at one. Read each output pair for A zero, then A one. When B and C are both one and A is zero, AND gives one. OR gives one and XOR gives zero.
Use the same row: A is zero, B is one and C is one. With the bar over A only, the result is one. If you put the bar over the whole expression instead, OR gives one first, and the final NOT flips it to zero.
In an exam, you could be asked to draw the circuit for this expression. The bar covers A OR B, so draw OR first and put NOT on its output. Feed that signal and C into XOR. Draw the extra curved line on the input side to distinguish XOR from OR.