The correct choice is (a) XOR
The explanation is: Generally, an XNOR outputs high for even number of 1s or all 0s and outputs low for otherwise. Thus, an XNOR gate is a basic comparator, because its output is “1” only if its two input bits are equal.