In this lesson, you'll learn to programme your Bee-Bot to move in square shapes, enhancing your understanding of sequencing and spatial awareness. You'll start with a fun game, then move onto digital practice, and finally, you'll programme your Bee-Bot on a grid. This will deepen your coding skills and prepare you for more complex challenges.

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.

Load previous activity
In today’s lesson, students will build on their understanding of directional commands by learning how to program their Bee-Bots to move in square shapes. This activity is designed to deepen their grasp of sequencing and spatial awareness, essential skills in coding.

By focusing on creating both small and large squares, students will also begin to understand the importance of precision and planning in programming.

This lesson sets the stage for more complex coding challenges and reinforces the foundational concepts they’ve been practicing.

Start the lesson by playing a variation of the "Student as Bee-Bot" game from the previous lesson. Explain to the class that their goal is to guide the student Bee-Bot to a specific spot in the room, just like they would program a Bee-Bot to follow directions.

Select a student to be the Bee-Bot, and point out a target location in the room, such as the sink, a chair, or a specific corner, making sure all the other students can see the target location.

Choose a student to be the leader, who will guide the student Bee-Bot to the target location. Encourage the leader to think carefully about the directions and give precise instructions, one step at a time.

The leader will give verbal instructions, using commands like *"two steps forward," "turn right,"* and *"turn left."* The student Bee-Bot should follow each command exactly as given. After reaching the target, rotate roles so that other students have the opportunity to be the Bee-Bot and the leader.

To keep the game engaging, choose different target locations around the room to challenge the students with new paths and instructions each time.

Explain to the students that today they will be programming their Bee-Bots to move in a square. Begin by emphasizing the key features of a square: it has four equal sides and four right-angle turns, one at each corner. Point out that to create a square, the Bee-Bot will need to make four precise turns, each time changing direction, and moving forward after each turn to form the sides of the square.

Discuss how important it is to carefully think about each command—how every turn and step contributes to completing the square. Explain that after each forward movement, they must program the Bee-Bot to turn left or right to ensure it stays on track to create the square shape.

Encourage students to write their instructions on a whiteboard!

Next, using the interactive game below, demonstrate how you would program the Bee-Bot to move in a square. Start by programming the Bee-Bot to move forward for one side of the square, then turn 90 degrees to the right or left. Repeat this process until the Bee-Bot completes all four sides of the square.

After the demonstration, challenge the students to think about how they could make the Bee-Bot move in a bigger square. Ask them to consider how they would adjust the number of forward steps between each turn to create a larger square while still keeping the 90-degree turns at each corner. Encourage them to experiment with different square sizes to see how the Bee-Bot's movements change.

To increase the size of the grid, click on settings and use the arrows to increase the grid size!

Divide the students into small groups, ensuring each group has a Bee-Bot, a mat with a grid, and whiteboards with markers.

Begin by explaining that their first task is to program the Bee-Bot to move in a small square on the grid.

Instruct each group to work together to write down the sequence of commands on their whiteboards.

Once the sequence is written, have the groups input their commands into the Bee-Bot and test it on their grid.

After successfully programming the Bee-Bot to move in a small square, challenge the groups to take it a step further by programming the Bee-Bots to move in a larger square, such as a 2x2 or even a 3x3 square. Encourage the students to experiment with different square sizes and see how they can modify their commands to achieve the desired shape.

Copyright Notice

This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

🍪
Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies.
Learn more