Free. Exclusive. Just for you.
Four unique services that make learning easier, faster, and smarter - only on our website.

Directional coding activity for kids with construction-themed elements to learn sequencing and navigation.

Coding Worksheets | PDF | Scratch (Programming Language) | Data Type

Educational worksheet: Coding Worksheets | PDF | Scratch (Programming Language) | Data Type. Download and print for classroom or home learning activities.

JPG 1080×1080 166.5 KB Free · Personal Use
Quality Assured by Worksheets Library Team
Reviewed for educational accuracy and age-appropriateness
ID: #184340
Show Answer Key & Explanations Step-by-step solution for: Coding Worksheets | PDF | Scratch (Programming Language) | Data Type
This image is a fun and educational "Construction Coding" activity designed to teach directional coding concepts to kids, using a grid-based puzzle format. It's a hands-on way to introduce early programming logic, such as sequences, directionality, and problem-solving.

Let’s break it down and solve the task:

---

🔍 Understanding the Task



The goal of this activity is to guide a character (the construction worker) from the starting point to the excavator (digging machine) by placing directional arrows in the correct sequence on the blank grid.

- The construction worker starts at the bottom-left corner.
- The excavator is located in the top-right corner.
- The path must avoid obstacles: barriers (orange barriers) and traffic cones.
- There are "STOP" signs that act as terminal points — you can't go through them.
- You use arrow tiles (right, left, up, down, and turns) to create a path.

---

🧩 Step-by-Step Solution



We’ll analyze the completed example grid on the left to understand how the path works.

#### Completed Grid Analysis:
- Start: Bottom-left square (worker)
- End: Top-right square (excavator)
- Obstacles:
- A barrier in the top-middle
- Two traffic cones (one in middle-right, one in bottom-right)
- A STOP sign in the center-bottom

Let’s trace the path:

1. Worker starts at bottom-left → move (right)
2. Then (down) — but wait! That would go off-grid or into a wall?

Wait — let’s recheck the layout.

Actually, the grid is 4x4, with these positions:

```
Row 1: [ ] [Barrier] [ ] [Excavator]
Row 2: [→] [→] [Cone] [↑]
Row 3: [↑] [↓] [→] [→]
Row 4: [Worker] [STOP] [ ] [Cone]
```

Wait — the STOP is in Row 4, Column 2. So we cannot go there.

Let’s number rows from bottom to top (like standard grids):

- Row 1 (bottom): Worker at (1,1), STOP at (1,2), Cone at (1,4)
- Row 2: ↑ at (2,1), ↓ at (2,2), → at (2,3), → at (2,4)
- Row 3: → at (3,1), → at (3,2), Cone at (3,3), ↑ at (3,4)
- Row 4: Barrier at (4,2), Excavator at (4,4)

Now trace the worker's path:

1. Start at (1,1) → move to (1,2)? But (1,2) has STOP → not allowed!

Hmm — contradiction.

Wait — perhaps the arrows are already placed, and the worker follows them.

So the arrows are instructions for movement.

Let’s suppose the worker starts at (1,1) and follows the arrows in order.

But the arrow at (2,1) is ↑ — pointing up from (2,1). But the worker is at (1,1), so he can’t follow an arrow in (2,1) unless he gets there first.

Ah — this suggests that the grid shows the path, and each tile has an instruction.

Wait — actually, looking again, the arrows are placed in the grid cells, so they represent instructions for movement.

But the worker starts at (1,1), and the arrow in (1,1) is not shown — instead, the arrow in (2,1) is ↑.

This implies the path is built by placing arrows, and the worker moves step-by-step.

But in the completed grid, the arrows are already filled in.

Let’s try to reconstruct the path:

- Worker starts at (1,1) — bottom-left.
- He must reach (4,4) — top-right.
- Obstacles:
- (4,2): Barrier
- (3,3): Cone
- (1,2): STOP
- (1,4): Cone

So the worker cannot go to (1,2) or (1,4), and cannot go to (4,2) or (3,3).

So possible route?

Let’s try:

1. (1,1) → (2,1): Arrow in (2,1) is ↑ — so if worker is at (1,1), he can only move up to (2,1) if the arrow in (1,1) is ↑ — but it’s empty.

Wait — this is confusing.

Perhaps the arrows are placed in the cell the worker is moving *from*, indicating the next direction.

That’s standard in coding games like "Code & Go Robot Mouse" or "Bee-Bot".

So:
- Each arrow tile tells the robot which direction to move from that cell.
- The worker starts at (1,1).
- We place arrows in the grid to guide him to (4,4).

But in the completed grid, arrows are already placed.

Let’s read the arrows in the grid:

- (2,1): ↑ → from (2,1), go up to (3,1)
- (2,2): → → from (2,2), go right to (2,3)
- (2,3): → → from (2,3), go right to (2,4)
- (2,4): ↑ → from (2,4), go up to (3,4)
- (3,1): ↑ → from (3,1), go up to (4,1)
- (3,2): ↓ → from (3,2), go down to (2,2)
- (3,3): → → from (3,3), go right to (3,4)
- (3,4): ↑ → from (3,4), go up to (4,4)

But the worker starts at (1,1), which has no arrow.

So maybe the arrow tiles are separate, and we place them on the grid to build a path.

Ah! Now I see — the blank grid on the right is where kids should place arrow tiles to create a path from the worker to the excavator.

The example on the left shows a completed solution.

So let’s reconstruct the correct path based on the completed grid.

Start: (1,1) — worker

We need to get to (4,4) — excavator

Obstacles:
- (4,2): Barrier → can't go there
- (3,3): Cone → can't go there
- (1,2): STOP → can't go there
- (1,4): Cone → can't go there

So possible path:

Try:

1. (1,1) → (2,1) → (3,1) → (4,1) → (4,2)? No — barrier!
So can't go to (4,2)

Alternative: after (3,1), go to (3,2)? But (3,2) has ↓ arrow — meaning go down to (2,2)

But we want to go right.

Wait — look at the arrows in the example:

- (2,1): ↑ → means from (2,1), move up to (3,1)
- (2,2): → → from (2,2), move right to (2,3)
- (2,3): → → to (2,4)
- (2,4): ↑ → to (3,4)
- (3,1): ↑ → to (4,1)
- (3,2): ↓ → to (2,2)
- (3,3): → → to (3,4)
- (3,4): ↑ → to (4,4)

But worker starts at (1,1). How does he get to (2,1)?

Unless (1,1) has an arrow pointing up? But it doesn't.

Wait — perhaps the arrows are not in the starting cell — the worker starts and then moves based on the arrows.

But without an arrow in (1,1), he can't start.

Ah — I think the arrows are placed in the cells the worker moves *into*, but that doesn't make sense.

Another possibility: the arrows are the commands, and the worker starts at (1,1), and we sequence the arrows.

But the grid has arrows in the cells.

Let’s look at the empty grid on the right — it’s for kids to copy the path or create their own.

But the left grid is a solved version.

Let me assume the worker starts at (1,1), and the arrows tell the direction to move from that cell.

So for the worker to move from (1,1), there must be an arrow in (1,1) — but there isn't.

Unless the first move is not shown, and the arrows are for later steps.

Alternatively, perhaps the arrows are placed on the grid to show the path, and the worker follows them.

But the arrows don't align with the start.

Wait — look at the bottom-left: the worker is in (1,1), and the cell below it is (2,1), which has an ↑ arrow — meaning “move up” from (2,1) to (3,1).

But the worker is in (1,1), so he needs to go to (2,1) first.

So unless (1,1) has a → or ↑, he can't move.

But there’s no arrow in (1,1).

This suggests that the arrows are not in the starting cell, but the worker moves based on the arrow in the current cell.

So perhaps the worker starts at (1,1), and we place an arrow in (1,1) to tell him where to go.

But in the completed grid, (1,1) is empty.

Unless the arrows are placed in the cells the worker passes through, but the start cell has no arrow.

This is confusing.

Wait — perhaps the arrows are the code, and the worker starts at (1,1), and we sequence the arrow tiles (like a strip) to move him.

Look at the bottom: there are 16 arrow tiles (4x4), including 4 STOPs.

And on the right, there are 8 object tiles: barriers, cones, excavators, worker, etc.

Ah — now I see: this is likely a coding game where:

- Kids place arrow tiles on the grid to create a path.
- The worker starts at (1,1).
- They place arrows in the grid to guide him.
- The goal is to reach the excavator at (4,4).
- Obstacles block movement.

So the completed grid on the left shows a valid solution.

Let’s determine the correct path.

From the arrows:

- (2,1): ↑ → so if worker is at (2,1), he goes to (3,1)
- (3,1): ↑ → to (4,1)
- (4,1): ? — no arrow
- (2,2): → → to (2,3)
- (2,3): → → to (2,4)
- (2,4): ↑ → to (3,4)
- (3,4): ↑ → to (4,4) — goal!

So the path seems to be:

(1,1) → (2,1) → (3,1) → (4,1) → ??? — but (4,1) has no arrow.

Then how does he get to (2,1)? Unless (1,1) has a ↑ arrow? But it doesn’t.

Wait — perhaps the arrows are not in the cell the worker is in, but rather on the grid, and the worker moves based on the arrow in the cell he is entering.

No — that doesn’t work.

Alternative idea: the arrows are the code, and the worker moves one cell per arrow, and the arrow tells the direction.

So the code is a sequence of arrows, not placed in the grid.

But the grid has arrows in cells.

I think the intended interpretation is:

- The grid is a map.
- The arrows in the cells are instructions for movement.
- The worker starts at (1,1).
- To move, he must have an arrow in his current cell telling him where to go.
- But (1,1) has no arrow — so he can't move.

Therefore, the arrows must be placed by the child.

The completed grid is just an example of a possible solution.

But in the completed grid, (1,1) is empty — so how does the worker start?

Unless the first move is not shown, and the arrows are for the path.

But that doesn't make sense.

Wait — perhaps the arrows are not in the grid, but the child places arrow tiles on the grid to form a path.

The completed grid shows the final state.

So let’s ignore the arrows in the completed grid and focus on the goal.

We need to guide the worker from (1,1) to (4,4), avoiding:

- (4,2): barrier
- (3,3): cone
- (1,2): STOP
- (1,4): cone

So possible path:

1. (1,1) → (2,1) — up
2. (2,1) → (2,2) — right
3. (2,2) → (2,3) — right
4. (2,3) → (2,4) — right
5. (2,4) → (3,4) — down
6. (3,4) → (4,4) — down

But (3,4) is in row 3, column 4.

From (2,4) to (3,4): down

From (3,4) to (4,4): down

Yes.

Now check if any of these cells are blocked:

- (1,1): ok
- (2,1): ok
- (2,2): ok
- (2,3): ok
- (2,4): ok
- (3,4): ok
- (4,4): excavator — goal

Are any of these cells occupied by obstacles?

- (3,3): cone — not on path
- (4,2): barrier — not on path
- (1,2): STOP — not on path
- (1,4): cone — not on path

Perfect.

So the path is:

- (1,1) → (2,1) → (2,2) → (2,3) → (2,4) → (3,4) → (4,4)

Now, what arrows do we need?

In each cell, place the arrow pointing to the next cell:

- (1,1): ↑ (to go to (2,1))
- (2,1): → (to go to (2,2))
- (2,2): → (to (2,3))
- (2,3): → (to (2,4))
- (2,4): ↓ (to (3,4))
- (3,4): ↓ (to (4,4))

But (4,4) has the excavator — no need for arrow.

So the sequence of arrows is:

1. ↑
2. →
3. →
4. →
5. ↓
6. ↓

Now, in the completed grid on the left, let’s see if this matches.

- (2,1): ↑ — but we need → here
- (2,2): → — good
- (2,3): → — good
- (2,4): ↑ — but we need ↓
- (3,1): ↑ — not used
- (3,2): ↓ — not used
- (3,3): → — not used
- (3,4): ↑ — but we need ↓

So it doesn't match.

This suggests the completed grid is not showing the path we just found.

Perhaps the worker can only move to cells with arrows.

Or perhaps the arrows are placed in the cell the worker is moving *to*.

Wait — in the completed grid, the worker is at (1,1), and the arrow in (2,1) is ↑ — which points away from (1,1).

So if the worker is at (2,1), he goes up to (3,1).

But how does he get to (2,1)?

Unless (1,1) has an arrow pointing up — but it doesn't.

I think there’s a mistake in my understanding.

Let’s look at the bottom part: there are 16 arrow tiles, including:

- Right: 4
- Left: 0
- Up: 4
- Down: 4
- Turn right: 4
- Turn left: 4
- STOP: 4

And object tiles: barriers, cones, worker, excavator, etc.

Ah — now I see: this is a coding activity where:

- Kids select arrow tiles from the bottom and place them on the grid to create a path.
- The worker starts at (1,1).
- They place arrows in the grid cells to direct the worker.
- The goal is to reach the excavator at (4,4).
- The completed grid on the left is a sample solution.

But in the completed grid, (1,1) has no arrow — so the worker can't start.

Unless the first move is not shown, and the arrows are for the path.

But that doesn't work.

Wait — perhaps the arrows are not in the grid, but the child creates a sequence of arrows (like a strip), and the worker moves according to that sequence.

For example:

- Place a sequence of arrow cards: ↑, →, →, →, ↓, ↓
- Then the worker moves: up, right, right, right, down, down

But the grid has arrows in cells.

Given the complexity, I think the intended solution is:

Correct Path (Based on Avoiding Obstacles)



From (1,1) to (4,4), avoiding:

- (1,2): STOP
- (1,4): cone
- (4,2): barrier
- (3,3): cone

Best path:

1. (1,1) → (2,1) — up
2. (2,1) → (3,1) — up
3. (3,1) → (4,1) — up
4. (4,1) → (4,2)? — no, barrier
5. So must go from (4,1) to (3,1)? Already there.

Dead end.

Alternative:

After (2,1), go right to (2,2), then to (2,3), then to (2,4), then down to (3,4), then down to (4,4)

Path:

- (1,1) → (2,1) — up
- (2,1) → (2,2) — right
- (2,2) → (2,3) — right
- (2,3) → (2,4) — right
- (2,4) → (3,4) — down
- (3,4) → (4,4) — down

Now, check cells:

- (2,1): no obstacle — ok
- (2,2): no obstacle — ok
- (2,3): no obstacle — ok
- (2,4): no obstacle — ok
- (3,4): no obstacle — ok
- (4,4): goal

Obstacles are not on this path.

So this is valid.

Now, to implement this, the child must place arrows in the grid:

- In (1,1): ↑ (to go to (2,1))
- In (2,1): → (to go to (2,2))
- In (2,2): → (to (2,3))
- In (2,3): → (to (2,4))
- In (2,4): ↓ (to (3,4))
- In (3,4): ↓ (to (4,4))

Note: (4,4) has the excavator — no need for arrow.

So the answer is to place these arrows on the blank grid.

The completed grid on the left may have a different path, but this is a valid one.

---

🎯 Final Answer: How to Solve



1. Start at the bottom-left corner (where the worker is).
2. Avoid obstacles:
- Don't enter cells with barriers, cones, or STOP signs.
3. Goal: Reach the excavator in the top-right corner.
4. Valid path:
- Move up to (2,1)
- Move right to (2,2)
- Move right to (2,3)
- Move right to (2,4)
- Move down to (3,4)
- Move down to (4,4) — goal!
5. Place arrows in the corresponding cells:
- (1,1): ↑
- (2,1): →
- (2,2): →
- (2,3): →
- (2,4): ↓
- (3,4): ↓

This is a simple, logical path that avoids all obstacles.

---

💡 Educational Value



This activity teaches:
- Sequencing
- Directional thinking
- Problem-solving
- Debugging (if the path hits an obstacle)
- Basic programming logic (like in Scratch Jr.)

It’s a great introduction to computational thinking for young learners.

---

Summary: The solution is to guide the worker from bottom-left to top-right using the path: up, right, right, right, down, down, placing arrows accordingly.
Parent Tip: Review the logic above to help your child master the concept of coding worksheets.
Print Download

How to use

Click Print to open a print-ready version directly in your browser, or use Download to save the file to your device. The ⭐ Answer button generates an AI answer key instantly - useful for teachers who need a quick reference. Need a different version? Our AI Worksheet Generator lets you create a custom worksheet on any topic in seconds.

(view all coding worksheets)

Fall Coding Worksheets - Hands-On Teaching Ideas
Algorithm online worksheet for Kindergarten | Live Worksheets
Grade 2 Coding & Robotics: String together | Smartkids
Pin on Coding Worksheets
Coding for Kids Directional Coding Coding Worksheets - Etsy Norway
Coding Activities for Kids with Coding Worksheets
Grade 6 Ontario Math FREE Coding PDF & Editable Worksheets – My
Counting to Ten Algorithm Coding Worksheet for Preschoolers
Page 9 - Free, custom printable worksheet templates for teachers
7 Free Printable Coding Worksheets for kids | CodeWizardsHQ