GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A 3-to-8 decoder has active-low outputs Y0'..Y7' (Yi' = 0 only for input code i). To realise F(A,B,C) = Σm(0,1,2,4,5,7) with the fewest gate inputs, you should
- A. OR the six outputs Y0', Y1', Y2', Y4', Y5', Y7' with a 6-input OR gate
- B. NAND the six outputs Y0', Y1', Y2', Y4', Y5', Y7' with a 6-input NAND gate
- C. AND the two outputs Y3' and Y6' with a 2-input AND gate
- D. NAND the two outputs Y3' and Y6' with a 2-input NAND gate
Correct answer: C. AND the two outputs Y3' and Y6' with a 2-input AND gate
F is 1 on every input except 3 and 6. Y3' = 0 only at 3 and Y6' = 0 only at 6, so Y3'·Y6' = 1 exactly when the input is neither 3 nor 6, which is F, using 2 gate inputs. The 6-input NAND also gives F but needs 6 inputs; the 2-input NAND gives F', and the 6-input OR is almost always 1.
More Digital Logic questions
- An 8:1 multiplexer with S2 = B, S1 = C, S0 = D (S2 the most significant select) realises F(A,B,C,D) = Σm(2,3,5,8,9,12,13,15), where A is…
- 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…
- 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?