01
One decision from two bits β pick the gate by its column
What you know: Two inputs, one output, and a rule you can write as four rows. Choose the gate whose output column matches the rule you want.
Logic: Y = A ⊕ B
Worked example: XOR with A = 1 and B = 0 gives 1; the same gate gives 0 whenever the two inputs agree
Open this case: XOR differs