In the exclusive OR gate (XOR gate) has two inputs The ouput will be 1 when either input is 1 i.e X = 1 and Y = 1, but not when both the inputs are 1. If both the input is zero i.e X = 0 and Y = 0, then the output is 0.
Atoms or ions with unpaired electrons are attracted to a magnetic field; the more unpaired electrons, the greater is the attraction. Such substances are called paramagnetic. Molecular oxygen is a paramagnetic gas by virtue of its two unpaired electrons.