Step 1: Understanding the Concept
The XOR gate outputs 1 when exactly one input is 1.
Step 2: Truth table
Output is 1 for \( (A,B)=(0,1) \) and \( (1,0) \), and 0 for \( (0,0) \) and \( (1,1) \).
Step 3: Write the expression
Add the two cases: \( Y=\bar{A}\cdot B+A\cdot\bar{B} \).
Step 4: Compare the options
The expression \( (\bar{A}\cdot B)+(A\cdot\bar{B}) \) matches. The expression \( (\bar{A}+B)\cdot(A+\bar{B}) \) simplifies to \( AB+\bar{A}\bar{B} \), which is XNOR.
Final Answer:
The Boolean expression of an XOR gate is A-bar times B plus A times B-bar.
\[ \boxed{\text{(C) }(\overline{A}\cdot B)+(A\cdot\overline{B})} \]