logo

Question detail

Design a circuit that outputs 1 only when exactly two of the three inputs A, B, C are 1.

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Digital signal processing

Exam-style question

Try this first

Design a circuit that outputs 1 only when exactly two of the three inputs A, B, C are 1.

  1. A.XOR gate between A and B, then AND with C.
  2. B.Majority gate.
  3. C.XOR gate between A and B, then OR with C.
  4. D.AND gate between A and B, then OR with C.

Model answer

What a good answer should say

  • XOR gate between A and B, then AND with C.

Explanation

Why this works

Formula/rule: Boolean expression decomposition. Substitution: F = (A·B·C') + (A·B'·C) + (A'·B·C).

Working: XOR(A,B) gives 1 when exactly one of A,B is 1; AND with C gives 1 when C=1 and exactly one of A,B is 1, i.e., exactly two of the three inputs are 1. Answer: XOR gate between A and B, then AND with C.

Conclusion: This circuit outputs 1 only when exactly two inputs are 1.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.