GATE 2026 CS (CS2) – Question 9
The figure in Panel I 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 represents the grid shaded correctly?

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) (ii)
Explanation
Check both sets of constraints. In option (ii), the four rows have shaded counts 3,1,2,2 as required. Writing a shaded cell as 1, its rows are 1011,0100,0011,1100.
The column sums are then 2,2,2,2, also matching Panel I. Options (i) and (iii) have two shaded cells in their second row, rather than one; option (iv) has only one in row three and three in row four. Therefore **(ii), B**, is the only valid grid.
More Spatial Aptitude: Spatial Reasoning and Visualization questions
- GATE 2025 CS (CS2) Q4
- GATE 2024 CS (CS1) Q9
- GATE 2024 CS (CS1) Q10
- GATE 2024 CS (CS2) Q9
- GATE 2023 CS Q5
- GATE 2023 CS Q10
All Spatial Aptitude: Spatial Reasoning and Visualization questions →