GATE Computer ScienceHardGATE CS (PYQ pattern)
How many independent sets (including the empty set) does the 4×4 grid graph have?
- A. 1024
- B. 1156
- C. 987
- D. 1234
Correct answer: D. 1234
Row-by-row transfer matrix (each row a subset with no two adjacent, 8 choices, and compatible with the row above) gives 1234.
More Discrete Mathematics questions
- How many independent sets (including the empty set) does the wheel W₈ have? (W₈ is a hub joined to every vertex of an 8-cycle.)
- Each of the 15 edges of K₆ is coloured red or blue. What is the minimum possible number of monochromatic triangles over all colourings?
- How many closed walks of length 4 (counted with starting vertex and direction) does the Petersen graph have in total?
- Let Ḡ be the complement of the Petersen graph. With α, ω and χ denoting the independence number, clique number and chromatic number of Ḡ…
- How many edges does L(L(K₄)), the line graph of the line graph of K₄, have?
- How many pairwise non-isomorphic self-complementary graphs exist on 5 vertices (graphs isomorphic to their own complement)?