Given a 16-bit register A holding a number in 2’s complement form, use a single gate (e.g., AND, OR, XOR, NAND, NOR, NOT) with an arbitrary number of inputs to implement a circuit that produces an output 1 if the number is divisible by 16, and an output 0 otherwise. The bits are labelled A15, A14, ..., A0.
It's only worth two marks so I'm not sure what the point of this exactly is,
My answer was a single XOR gate with inputs from A0-a15 Any ideas?