IAE Academy

GATE 2026 CS2 GA Q.9: solution and answer

GATE 2026 · CS2GA Q.9 · 2 marks · MCQ

The figure in Panel I below is a grid of cells with four rows and four columns. The numbers on the top and on the left represent the number of cells that are to be shaded in that column and row, respectively. Which one of the options shown in Panel II below represents the grid shaded correctly?

GATE 2026 CS2 GA question 9: Panel I: an empty 4x4 grid.Tap to open full size
Figure from the GATE 2026 CS2 paper. It is part of the question.
Figure description

Panel I: an empty 4x4 grid. Column clues on top, left to right: 2, 2, 2, 2. Row clues on the left, top to bottom: 3, 1, 2, 2. Panel II: four shaded 4x4 grids (i) to (iv), shaded cells in grey, listed row by row (S = shaded, W = white). (i): row1 S W S S; row2 W S W S; row3 W W S W; row4 S S W W. (ii): row1 S W S S; row2 W S W W; row3 W W S S; row4 S S W W. (iii): row1 S W S S; row2 W S S W; row3 W W S W; row4 S S W W. (iv): row1 S W S S; row2 W S W W; row3 W W S W; row4 S S W S.

  1. (A)

    (i)

  2. (B)

    (ii)

  3. (C)

    (iii)

  4. (D)

    (iv)

Answer and solution

ANSWER

Option (B), grid (ii), is the only grid whose row counts and column counts both match the clues.

Official answer: BSource: Official answer key, GATE 2026 CS2 (IIT Guwahati)

  1. The row clues are (total 8) and the column clues are (total 8), so a correct grid has exactly 8 shaded cells.

  2. Check the row counts first, because one wrong row rejects an option at once.

  3. Option (i): row 2 is white, shaded, white, shaded. That is 2 shaded cells, but the clue is 1. Rejected.

  4. Option (iii): row 2 is white, shaded, shaded, white. That is 2 shaded cells, but the clue is 1. Rejected.

  5. Option (iv): row 4 is shaded, shaded, white, shaded. That is 3 shaded cells, but the clue is 2. Rejected.

  6. Option (ii): the rows have shaded cells, which matches the row clues.

  7. Option (ii), columns: column 1 is shaded, white, white, shaded, so 2. Column 2 is white, shaded, white, shaded, so 2. Column 3 is shaded, white, shaded, white, so 2. Column 4 is shaded, white, shaded, white, so 2. All match the column clues, so option (ii) is correct.

KEY IDEA

Test each candidate grid against the clues. Count the shaded cells in each row and column. A single row or column that disagrees with its clue rules the grid out.

WATCH OUT FOR

Checking only the column clues, or only some of the rows. Grids (i) and (iii) have correct columns in places but a wrong row 2, and grid (iv) has a wrong row 4. Check every row and every column before choosing.

From the GATE 2026 CS2 paper. Every question of this paper · Download the full paper · All 72 Reasoning questions, with notes

More Reasoning questions