mBot: Iteration in Practice (Grade 5-6)

Description

In this lesson, students will enhance their understanding of looping algorithms. The project in this learning activity is to create a “Jumping Bear” animation in mBlock. The act of jumping up and down is a set of repetitive motions, and therefore, students need to address and properly define loop bodies. This activity uses the PRIMM approach. First, students will predict the function of the demo program and then run it to see what actually happens. Students need to investigate how the demo program works and modify the demo to add some new effects to the demo program. Building on the hand-on experience, students are encouraged to make their own projects to demonstrate their understanding of this lesson.

Objectives

  • Explain the meaning and use of iteration associated with the relevant real-life examples.
  • Identify the situation whether to use count-controlled loops or condition-controlled loops in order to improve the efficiency of an executable program.
  • Use looping and sequential algorithms to develop a short animation with motion effects.

Curriculum Connections Summary

  • Ontario - Mathematics - Algebra (Coding) & Science
  • Quebec - Science
  • New Brunswick - Science
  • Nova Scotia - Science & ICT
  • Alberta - Science & ICT
  • British Columbia - Science & ADST
  • Manitoba - Science
  • Prince Edward Island - Science
  • Saskatchewan - Science
  • Newfoundland & Labrador - Science
  • Yukon Territories - Follow's B.C.'s Curriculum
  • Northwest Territories - Follows Alberta's Curriculum
  • Nunavut - Follows Alberta's Curriculum


Find Out More


mBot
mBot

mbot is the best of both worlds, transitioning students from Scratch Blocks to Text Code