- Foundation
- About 15 min
- 5 practice questions
Moving on a grid: steps and paths
Move on a grid with steps up, down, left and right, count the steps in a path, and find the shortest way to a target.
If something looks wrong, please tell us.
By the end of this lesson you can
- Move on a grid using up, down, left and right.
- Count the steps in a path.
- Find a shortest path to an object.
In a treasure hunt game, one player thinks of an object on a grid. The other starts at START and moves step by step. You may move up, down, left or right, one box at a time. No slanting moves are allowed!
| Row | Column 1 | Column 2 | Column 3 | Column 4 |
|---|---|---|---|---|
| Row 4 | - | - | ||
| Row 3 | - | - | - | |
| Row 2 | - | - | Orange | |
| Row 1 | START | - | - |
Counting steps
Each move into the next box is one step. To reach a box, count how many steps you go across and how many you go up or down. Then add them.
Let us try 1: start to the orange
START is in Row 1, Column 1. The orange is in Row 2, Column 4.
Across: from Column 1 to Column 4 is 3 steps right. Up: from Row 1 to Row 2 is 1 step up. Total: 3 + 1 = 4 steps.
Let us try 2: two different paths to the flower
The flower is in Row 4, Column 4. Path A: 3 steps right, then 3 steps up. Path B: 3 steps up, then 3 steps right.
Path A: 3 + 3 = 6 steps. Path B: 3 + 3 = 6 steps. Both paths are 6 steps. When you never move backwards, every path to the same box has the same number of steps.
Finding the shortest path
- Find the target's row and column
- Count steps across
- Count steps up or down
- Add the two numbers
- Never step backwards
Shortest number of steps = steps across + steps up or down, with no going back.
Which is nearer?
Is the mango or the pencil nearer to START? Mango: 1 step right and 3 steps up, so 4 steps. Pencil: 2 steps right and 0 up, so 2 steps. The pencil is nearer.
Try at home with a grown-up: floor treasure hunt
- Make a 4 by 4 grid with chalk or tape on the floor.
- Hide a small treat under a paper in one box.
- Give clues like '2 steps right, 1 step up' and let each other find it.
For the grown-up: Keep the floor clear so nobody trips. Ask the child to say the number of steps before moving, then check by walking.
Key takeaways
- Move one box at a time: up, down, left or right.
- Add steps across and steps up or down to count a path.
- Different paths without going back can have the same length.
Check your understanding
-
1. From START, how many steps does it take to reach the kite (Row 3, Column 3)?
- 2
- 3
- 4
- 6
Show answer
Answer: C. Across: Column 1 to Column 3 is 2 steps. Up: Row 1 to Row 3 is 2 steps. Total: 2 + 2 = 4 steps.
-
2. Which moves are NOT allowed in the treasure hunt game?
- Up
- Left
- Right
- Slanting (diagonal)
Show answer
Answer: D. Only up, down, left and right moves are allowed. Slanting moves are not.
-
3. From START, how many steps does it take to reach the ball (Row 2, Column 1)?
- 1
- 2
- 3
- 4
Show answer
Answer: A. The ball is straight above START, one row up, so it takes 1 step.
-
4. Riya starts at START and moves 2 steps right. Where is she?
- At the ball
- At the pencil
- At the kite
- At the orange
Show answer
Answer: B. 2 steps right from Row 1, Column 1 reaches Row 1, Column 3, where the pencil is.
-
5. Which object is farthest from START in steps?
- The orange
- The mango
- The flower
- The pencil
Show answer
Answer: C. Orange 3 + 1 = 4 steps, mango 1 + 3 = 4 steps, pencil 2 steps, flower 3 + 3 = 6 steps. The flower is farthest.
Sign in to keep track of the lessons you finish.