GATE Computer ScienceHardGATE CS (PYQ pattern)

A circuit receives a BCD digit ABCD (A is the MSB; inputs 1010 to 1111 never occur and may be treated as don't-cares) and outputs F = 1 when the digit is a multiple of 3 (0, 3, 6, 9). How many literals does the minimal sum-of-products of F contain?

  1. A. 16
  2. B. 14
  3. C. 9
  4. D. 12

Correct answer: D. 12

On-set 0, 3, 6, 9 with don't-cares 10-15. A minimal cover is A'B'C'D' + B'CD + BCD' + AD: 4 terms, 12 literals. Without the don't-cares no two of these minterms are adjacent, giving 16 literals.

More Digital Logic questions

Exams that ask this topic