GATE Computer ScienceModerateGATE CS (PYQ pattern)
How many of the 32 input combinations make F(A,B,C,D,E) = (A ⊕ B)(B ⊕ C) + (C ⊕ D)(D ⊕ E) equal to 1?
- A. 16
- B. 15
- C. 12
- D. 14
Correct answer: D. 14
Each product is 1 for 2 × 4 = 8 inputs (ABC = 010/101 with D, E free; or CDE = 010/101). Both are 1 when ABCDE alternates, 01010 or 10101: 2 cases. Inclusion-exclusion: 8 + 8 − 2 = 14.
More Digital Logic questions
- A 4:1 multiplexer has select inputs S1 = C (more significant) and S0 = A, and data inputs I0 = B⊕D, I1 = B'D, I2 = B+D, I3 = B'. Its…
- A 4:1 MUX has S1 = A, S0 = B and data inputs I0 = C⊕D, I1 = CD', I2 = C+D, I3 = D'. How many literals does the minimal sum-of-products of…
- An 8-to-256 line decoder is to be built only from 3-to-8 decoders, each with one active-high enable input (no other gates, no inverters…
- A 5-to-32 line decoder is to be built only from 2-to-4 decoders, each with one active-high enable (no other gates or inverters; unused…
- A 4-bit asynchronous (ripple) up-counter has its clear inputs driven by a NAND gate whose inputs are Q3, Q1 and Q0 (active-low…
- A 6-bit ring counter (right shift, the last flip-flop's output fed back to the first) has no self-correcting logic, so all 64 states…