How to use the
Learning Portal

Learning Portal

Our hands-on, comprehensive lesson plans span a range of levels. Browse our free STEM and coding learning resources.

Marty Image

Trial Lesson Middle Elementary 30 minutes - Let's Repeat

30 Minutes

Lesson Overview

The repeat block (loop) allows for the repetition of one or more actions. This eliminates the need for instructions that seem to go on forever because of some parts that repeat. Learners will think of a movement that Marty can perform, practice that movement in their groups and then organise the code that Marty needs, using the repeat block.

Key vocabulary:
    Loops, Repetition,

Content Sections

  • Learning Objectives
  • Warm up
  • Get Learning
  • Time for Practice
  • Cool Down
    • Extensions & Challenges
    • Extend
    • Support
    • Additional Reading
    • Trial Lesson Middle Elementary 30 minutes - Let's Repeat

      30 Minutes

      Lesson Overview

      The repeat block (loop) allows for the repetition of one or more actions. This eliminates the need for instructions that seem to go on forever because of some parts that repeat. Learners will think of a movement that Marty can perform, practice that movement in their groups and then organise the code that Marty needs, using the repeat block.

      Key vocabulary:
        Loops, Repetition,
      • Knowledge of block names
      • Tablet with Bluetooth 4.2+
      • Drama - organising movements; Literacy - writing instructions
        • Marty the Robot v2
        • Tablets
        • Access to the MartyBlocks Jr editor

      Learning Objectives

      • Describe times when you repeat actions
      • Have Marty repeat more than one action

      For this entire lesson, Marty should be on the ground, not on a table.

      Warm up

      Share with learners the learning objectives and success criteria for the lesson, from the presentation file (slides 2 and 3).

      Read the text from the resources section or in the presentation (slides 4 - 11). Notes have been added to support the flow.

      Get Learning

      The presentation, on slide 12, shows a growing block of code that begins to repeat, take some time to talk about what movements they see and what parts of the code seem to repeat. Quiz learners about what they think the next step in the code will be, as it goes off the edge of the slide.

      While learners are in groups, working on movements they know that repeat, walk around the room listening to their ideas. Ask regular questions to help them determine which movements repeat, from their actions.

      Encourage learners to write down their ideas for the repeating actions in their workbooks. This could be completed with one workbook per group, individually or the document displayed on the board with whole-class input.

      Take time to explore the look of the repeat block. It is both red, which suggests stop, or don't go past, and has the curving arrows for repeat or refresh.

      Time for Practice

      Now that learners have seen an example of code that repeats, for Marty, and how Marty looks with that code, they need to plan a repeating movement or action that Marty can perform; they can plan this with words or with pictures; using icons from MartyBlocks Jr might be a good idea.

      Once learners have a routine, have them think about a name for what Marty could be doing. The code from the lesson could be a dance step, it could be an exercise routine that has Marty stretch their eyebrows and body every three steps, or it could be Marty is walking in the rain and the rain trickles down their back and Marty shakes to get the water off to move faster.

      Cool Down

      Bring learners back together to discuss how they met the challenge as a group. Have groups model their creations; hopefully, learners will be able to either connect to Marty with their device, if they have access, or can show you their plan and you can quickly create it to show the class.

      Suggested questions you might ask:

      • Which interesting combinations did you create? What movement is Marty performing?
      • Were there any problems you discovered with the repeat block you used?
      • Do you think it is a good idea to use this block to improve your code or would you prefer not to use it? Why?

      Carry out any end of lesson routines.

      Log off devices and clear everything away.

      Extensions & Support

      Extend

      Have learners think about how they might have two Martys use different repeat blocks to create a routine together: as one takes 3 steps forward, the other takes three steps back; as one takes three steps to the right, one takes three steps to the left, etc.

      The discussion should be timed properly: starting at the same time and keeping the movements synchronized.

      Support

      Take time to repeat the steps that make up an action. Display some ideas to groups, depending on the ideas that learners suggest. Ask for whole-class support in breaking down the steps and either illustrate them or use text to describe them for groups to consult.

      Additional Reading

      • Marty the Robot Educator Guide
      • Educator FAQ

      • Elementary Technology Applications: Kindergarten to Grade 2
      • Elementary Technology Applications: Grade 3 to Grade 5
      • Technologies: Computing Science
      • Literacy & English: Listening and Talking
      • Health and Wellbeing: Mental, Emotional, Social and Physical Wellbeing
      • Literacy & English: Writing
      • Computing, Design and Technology: Design and Technology
      • Computing, Design and Technology: Computing
      • CSTA Education Standards
      • Digital Technologies, Design & technologies: Design & Technologies
      • Digital Technologies, Design & technologies: Digital Technologies
      • International Society for Technology in Education (ISTE)