Skip to content
GATEiit

GATE CSE 2026 Session 2 Q9: Shade a 4×4 grid to match row and column counts

Question

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?

Panel I is an empty 4 by 4 grid with column counts 2, 2, 2, 2 on top and row counts 3, 1, 2, 2 on the left; Panel II shows four shaded grids labelled (i) to (iv)
Tap the figure to enlarge

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2026 final answer key)

Concept used: Check every row count and every column count against each candidate grid.

First step: Row 2 must have exactly one shaded cell; eliminate the grids that fail this, then check the columns.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2026 Session 2 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key