GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A single 2:1 multiplexer (output = s ? y : x) has each of its three inputs connected to one of 0, 1, a or b (no inverters). How many distinct Boolean functions of (a, b) can it realise?
- A. 16
- B. 12
- C. 10
- D. 14
Correct answer: B. 12
Listing all 64 choices of (s, x, y) gives 12 distinct functions: 0, 1, a, b, a' (as a ? 0 : 1), b', ab, a + b, a'b, ab', a' + b and a + b'. Only the four functions XOR, XNOR, NAND and NOR cannot be made with one multiplexer.
More Digital Logic questions
- A 128-to-1 multiplexer is built as a tree of 4-to-1 multiplexers only (unused data and select inputs may be tied to constants). What is…
- A 17-input XOR (parity) function is built only from 3-input XOR gates (no 2-input gates). What are the minimum number of gates and the…
- A 1.2 MHz clock drives a mod-5 counter whose most significant output (high for 1 of every 5 counts) clocks a 4-flip-flop Johnson counter…
- A 5-bit Johnson counter Q4Q3Q2Q1Q0 shifts right (Q3 ← Q4, …, Q0 ← Q1) with Q4 ← Q0' and starts at 00000. Each of its 10 states is decoded…
- Flip-flops FF1 and FF2 form a loop: logic of 4.0 ns (max) from FF1 to FF2 and 3.2 ns (max) from FF2 back to FF1. Clock-to-Q is 1.1 ns and…
- A 4-bit ring counter FF0 → FF1 → FF2 → FF3 → FF0 has no logic between flip-flops. Clock-to-Q is 0.4 ns (min) to 0.6 ns (max), setup 0.2…