GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A single 4:1 multiplexer has select inputs S1 = A and S0 = B. Each of its four data inputs is connected to one of 0, 1, A, B or C (no complements, no other gates). How many distinct Boolean functions of A, B, C can it produce?
- A. 625
- B. 81
- C. 256
- D. 125
Correct answer: B. 81
Data input I_k is seen only when AB = k, so A and B are constants there: connecting A or B just gives 0 or 1. Each input therefore effectively chooses from {0, 1, C}, and different choices give different functions: 3⁴ = 81. 5⁴ = 625 counts wirings, not functions; 256 would need C' too.
More Digital Logic questions
- In a 4-bit carry-lookahead unit each carry C1, C2, C3, C4 is produced by its own flat two-level AND-OR circuit from g0..g3, p0..p3 and C0…
- A full subtractor (A − B − Bin, giving difference D and borrow-out Bout) is to be built from one full adder (inputs x, y, z; outputs sum S…
- In a 4-bit ripple-carry adder with no carry-in, for how many of the 256 operand pairs (A, B) is the carry generated at stage 0 (A0 = B0 =…
- The IEEE 754 single-precision patterns 0x00600000 and 0x00200000 are added in single precision. What is the bit pattern of the result?
- The IEEE 754 single-precision pattern 0xC2F60000 represents −123.0. What is the single-precision bit pattern of −123 × 2⁻¹³⁵?
- In C with IEEE 754 single-precision float, let x = 16777216.0f (2²⁴). What are the values of (x + 1.0f) + 1.0f and x + (1.0f + 1.0f)?