GATE Computer ScienceHardGATE CS (PYQ pattern)
Segment g of a BCD-to-seven-segment decoder (inputs A B C D, codes 10-15 don't-care) is on for digits 2, 3, 4, 5, 6, 8, 9, and is implemented from its minimal sum-of-products B'C + CD' + BC' + A using NAND gates of any fan-in (inputs true and complemented are all available). What is the minimum number of NAND gates?
- A. 5
- B. 3
- C. 7
- D. 4
Correct answer: D. 4
Each two-literal product needs one NAND (3 gates), and the single-literal term A needs no gate because the output NAND can take A' directly. The output NAND combines the four terms: 3 + 1 = 4 gates. Counting a gate for A gives 5.
More Digital Logic questions
- Which of the following Boolean functions of A, B, C are self-dual (f(A',B',C') = f(A,B,C)')? I. A ⊕ B ⊕ C II. AB + BC + CA III. A'B + B'C…
- A sequential machine has 37 states. What is the minimum number of flip-flops with (i) a dense binary encoding, (ii) one-hot encoding…
- A 4-bit ripple counter (negative-edge-triggered toggle flip-flops, each clocked by the previous stage) goes from 0111 to 1000. Assuming…
- In a 4-bit ripple up-counter, count only the transient (spurious) states that appear between the stable counts, over one full cycle of 16…
- A non-zero Boolean function of three variables has a minimal sum-of-products with some number of product terms. For how many of the 255…
- Five labelled states of a sequential machine get distinct 3-bit codes on 3 flip-flops. Two assignments are regarded as equivalent when one…