GATE CE 2022 · Set-1 · Numerical Computation & Estimation

MCQ · 2 marks · Problem GA-QUAN-0325

In the square grid shown on the left, a person standing at P2 position is required to move to P5 position.The only movement allowed for a step involves, "two moves along one direction followed by one move in a perpendicular direction". The permissible directions for movement are shown as dotted arrows in the right.For example, a person at a given position Y can move only to the positions marked X on the right.Without occupying any of the shaded squares at the end of each step, the minimum number of steps required to go from P2 to P5 is
Diagram
  1. A
    4
  2. B
    5
  3. C
    6
  4. D
    7

Solve it on GATE DA practice →More Section 2: Quantitative Aptitude problems

Show the worked solutionEach step is a chess knight's move. A knight move always changes the colour of the square (\(r+c\) changes parity). P2 has \(r+c\) odd and P5 has \(r+c\) even, so the number of steps must be odd.Three steps are impossible: the only unshaded square one step from P5 is R4, whose unshaded neighbours are P3, Q2, T5; none of these is one step from Q4 or R3, the only squares reachable from P2 in one step.Five steps work:\[P2\to Q4\to S3\to T5\to R4\to P5.\]Answer: B

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com