GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 2.22

Four-to-one mux parity function

Digital Logic · Combinational Circuits · Full GATE CSE 1996 paper

GATE 1996, Q2.22 2 marks · MCQ
Report issue

Combinational Circuits

Question 2.22, GATE 1996: A,B select mux inputs 0…3. In GFG the data inputs are C,¬C,¬C,C. Find f; the alternate loses the complement bars.
Tap to enlarge
Your answer
Answer & solution

Answer: C: A⊕B⊕C (no official key was published)

When A=B, select 0 or 3, so f=C. When A≠B, select 1 or 2, so f=¬C. Thus f equals C toggled precisely when A⊕B=1, giving A⊕B⊕C. This evaluates all four selector cases and proves the parity expression. Both source readings are disclosed rather than silently treating the damaged alternate as identical.

Original paper, page 6