GATE CS 2024 Set 1 — Question 10

MCQ+2 / -0.67MediumTransformation of Shapes (Translation, Rotation, Scaling, Mirroring)Spatial AptitudeGeneral Aptitude

General Aptitude → Spatial Aptitude → Transformation of Shapes (Translation, Rotation, Scaling, Mirroring)

Last updated

Question

The least number of squares to be added in the figure to make AB a line of symmetry is
A grid with shaded squares and a horizontal dashed line AB representing an axis of symmetry.
A.
6
B.
4
C.
5
D.
7

Correct answer

(A) 6

Solution

To make the line AB a line of symmetry, every shaded square on one side of the line must have a corresponding shaded square on the other side at the same distance from the line.
Let's analyze the positions of the existing squares relative to the line AB:
1.Above the line:
  • One square at column 3, 2 units above.
  • One square at column 4, 1 unit above.

2. Below the line:
  • One square at column 2, 1 unit below.
  • One square at column 4, 1 unit below.
  • A 2×22 \times 2 block of squares at columns 5 and 6, spanning 1 and 2 units below (total 4 squares).
Symmetry Check:
  • The square at (column 4, 1 unit above) and the square at (column 4, 1 unit below) are already symmetric to each other. No squares need to be added here.
  • The square at (column 3, 2 units above) needs a reflection at (column 3, 2 units below). (+1 square)
  • The square at (column 2, 1 unit below) needs a reflection at (column 2, 1 unit above). (+1 square)
  • The 2×22 \times 2 block at (columns 5-6, 1-2 units below) needs a reflection at (columns 5-6, 1-2 units above). (+4 squares)
Total squares to be added = 1+1+4=61 + 1 + 4 = 6.

More questions on Spatial Aptitude

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free