IAE Academy

GATE 2022 EC GA Q.4: solution and answer

GATE 2022 · ECGA Q.4 · 1 mark · MCQ

The figure shows a grid formed by a collection of unit squares. The unshaded unit square in the grid represents a hole.

[Figure]

What is the maximum number of squares without a “hole in the interior” that can be formed within the grid using the unit squares as building blocks?

GATE 2022 EC GA question 4: A 4 by 4 square grid made of 16 unit squares, with a black dot at each of its 25 grid-line intersections (5 by 5 lattice…Tap to open full size
Figure from the GATE 2022 EC paper. It is part of the question.
Figure description

A 4 by 4 square grid made of 16 unit squares, with a black dot at each of its 25 grid-line intersections (5 by 5 lattice points). Fifteen unit squares are shaded light grey. The one unshaded (white) unit square, the hole, is in the second row from the top and the second column from the left. Below the bottom-right unit square, a horizontal double-headed arrow spanning that square's width is labelled "1 unit". To the right of the bottom-right unit square, a vertical double-headed arrow spanning that square's height is labelled "1 unit" (text written vertically).

  1. (A)

    15

  2. (B)

    20

  3. (C)

    21

  4. (D)

    26

Answer and solution

ANSWER

(B) 20. That is 15 unit squares plus 5 two-by-two squares that avoid the hole. Every 3 × 3 square and the full 4 × 4 grid contain the hole.

Official answer: BSource: Official answer key, GATE 2022 EC (IIT Kharagpur)

  1. Number the rows 1 to 4 from the top and the columns 1 to 4 from the left, so the hole is cell . A square built from unit squares as building blocks cannot include the hole anywhere, because the hole is a missing block. So we count only the squares that do not contain cell .

  2. A grid has squares of side : that is for , or 30 in all if the hole is ignored.

  3. : every unit square except the hole, so .

  4. : a square whose top-left cell is , with , covers rows and columns . It contains exactly when and , which gives squares. So squares are free of the hole.

  5. : the top-left cell can only be or . Each of these squares covers rows 2 and 3 and columns 2 and 3, so all 4 contain the hole. That leaves 0.

  6. : the only such square is the whole grid, which contains the hole, so 0.

  7. Total: The answer is (B).

KEY IDEA

For each size, count the squares by where their top-left cell sits, then subtract the ones that cover the hole. A square of side with top-left cell covers the hole exactly when and . A hole near a corner leaves no room for 3 × 3 squares, because every 3 × 3 square in a 4 × 4 grid covers the two middle rows and the two middle columns.

WATCH OUT FOR

Counting the hole itself as a square gives , which is option (C). Another mistake is to allow bigger squares that have the hole on their edge rather than at their centre, or to subtract only the squares that contain the hole (, option (D)). Stopping after the unit squares gives 15, option (A). Because the hole is a missing building block, no square that contains it can be formed at any size.

From the GATE 2022 EC paper. Every question of this paper · Download the full paper · All 23 Spatial questions, with notes

More Spatial questions