GATE Computer ScienceVery hardGATE CS (PYQ pattern)

F(A,B,C,D,E) = (A + B)(B + C)(C + D)(D + E)(E + A). How many minterms does F have, and how many prime implicants does its sum-of-products form have?

  1. A. 11 minterms, 10 prime implicants
  2. B. 16 minterms, 5 prime implicants
  3. C. 12 minterms, 5 prime implicants
  4. D. 11 minterms, 5 prime implicants

Correct answer: D. 11 minterms, 5 prime implicants

F = 1 when the set of 1-variables touches every 'edge' A-B, B-C, C-D, D-E, E-A of a 5-cycle (a vertex cover). Complements are independent sets of the 5-cycle: 1 empty + 5 singletons + 5 non-adjacent pairs = 11, so F has 11 minterms. Prime implicants are the minimal covers: the 5 products like ACD (A, C and D cover every edge); no 2-variable product does. Multiplying out gives exactly these 5 terms.

More Digital Logic questions

Exams that ask this topic