lesson plan 4 - kubo.education › curriculum › en › kubo-coding-lessonplan-l… · lesson plan...

41
Lesson Plan 4 Loops Outcomes By the end of this section, students should be able to: • Explain what a loop is. • Make a function that includes a loop. • Design a new map for KUBO. • Write a story. • Program KUBO to what the story or play describes.

Upload: others

Post on 09-Feb-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

  • 1

    Lesson Plan 4Loops

    OutcomesBy the end of this section, students should be able to:

    • Explain what a loop is.• Make a function that includes a loop.• Design a new map for KUBO.• Write a story.• Program KUBO to what the story or play describes.

  • 2

    OverviewLoops - Lesson plan outline

    Activity 1 Around the campfire (25 minutes) 3Materials 4

    Tasks 1, 2 and 3 5

    Reflection task 11

    Extension activity ideas 12

    Activity 2 KUBO runs (25 minutes) 13Materials 14

    Tasks 1, 2 and 3 15

    Reflection task 20

    Extension activity ideas 21

    Activity 3 Gathering treasures (25 minutes) 22Materials 23

    Tasks 1, 2 and 3 24

    Reflection task 29

    Extension activity ideas 30

    Activity 4 Create a map and a play (25 minutes) 31Materials 32

    Tasks 1, 2 and 3 33

    Reflection task 38

    Extension activity ideas 39

    Assessment 40

    Cross-curriculum connections 41

  • 3

    OutcomesBy the end of this section, students should be able to:

    • Work with loops.• Create a route for KUBO to go around the campfire

    and then turn the route into a function with a loop.

    Activity 1 Around the campfire

    (25 minutes)

  • 4

    Activity 1 - Around the campfireYou need this before you can begin

    - Movement TagTiles® - Worksheet 4.1- Pencils

    - Activity map

    - KUBO

    - Loop and parameter TagTiles®- Blue and red function and play TagTiles®

    MATERIALS

  • 5

    Around the campfire - Task 1LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

    1 2Lay a route around the campfire using only eight TagTiles. Make KUBO follow the route.

    Draw the route on your worksheet. Divide your route into parts that can be repeated.

    TASKS 1, 2 AND 3

  • 6

    Around the campfire - Task 1LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

    3 4Turn your route into a function using only two Movement tiles, a Loop tile, and the number 4.

    Make KUBO memorize the function. Place a red Play Function tile on a quadrant next to the campfire and place KUBO on it.

  • 7

    Around the campfire - Task 2LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

    1 2Lay a route around the swing set and sandbox. Make KUBO follow the route.

    Draw the route on your worksheet. Divide your route into part that can be repeated.

  • 8

    Around the campfire - Task 2LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

    4Make KUBO memorize the function. Place a red Play Function tile on a quadrant around the swing set and sandbox and place KUBO on it. Debug if necessary.

    3Make your route into a function with loops and draw it on your worksheet. Create the function with the Function, Loop and Parameter TagTiles®.

  • 9

    Around the campfire - Task 3LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

    1 2Lay a route around the wall with the rainbow. Make KUBO follow the route.

    Draw the route on your worksheet. Divide your route into parts that can be repeated. Make your route into a function with loops and draw it on your worksheet. Create the function with the Function, Loop, and Parameter tiles.

  • 10

    3 4Make KUBO memorize the function. Place a red Play Function tile on a quadrant around the wall with the rainbow and place KUBO on it. Debug if necessary.

    Answer the two questions on the second page of your worksheet.

    Around the campfire - Task 3LESSON 4 - Loops / Activity 1

    KUBO’s class is going on excursion. They start the day be eating breakfast around the campfire.KUBO wants to go around the campfire to find a good place to sit.

  • 11

    Around the campfire - Task 4LESSON 4 - Loops / Activity 1

    1 2Did the function you built around the swing set and sandbox work? If you had to debug your code, how did you do it?

    Did the function you built around the wall with the rainbow work? If you had to debug your code, how did you do it?

    Reflection task

  • 12

    Around the campfire - Task 5LESSON 4 - Loops / Activity 1

    1 2Practice using and creating loops by making KUBO go around one of the sets of bushes.

    Practice using and creating loops by making KUBO go around another spot on the map. It must be a location KUBO hasn’t been to yet.

    Extension activity ideas

  • 13

    OutcomesBy the end of this section, students should be able to:

    • Work with loops• Make a function with a loop using as few TagTiles as pos-

    sible to make KUBO run a long stretch without many turns.

    Activity 2 KUBO runs

    (25 minutes)

  • 14

    Activity 2 - KUBO runsYou need this before you can begin

    - Movement TagTiles®

    - Loop and Parameter TagTiles®

    - Activity map

    - Blue Record and Play Function TagTiles®

    - Red Record and Play Function TagTiles®

    - KUBO

    MATERIALS

  • 15

    KUBO runs - Task 1LESSON 4 - Loops / Activity 2

    KUBO’s class must train for this year’s school run.

    1 2Find the longest route on the map where KUBO can run straight ahead.

    Turn that route into a function.

    TASKS 1, 2 AND 3

  • 16

    KUBO runs - Task 2LESSON 4 - Loops / Activity 2

    KUBO’s class must train for this year’s school run.

    1 2Count the numbers of Go Forward 1 tiles you have in your function.

    Find the matching parameter to make a loop with only one Go Forward 1 tile.

  • 17

    KUBO runs - Task 2LESSON 4 - Loops / Activity 2

    KUBO’s class must train for this year’s school run.

    3 4Make KUBO memorize the new function with the loop in it.

    Place a Play Function tile on a quadrant on the map and place KUBO on it. Debug if necessary.

  • 18

    KUBO runs - Task 3LESSON 4 - Loops / Activity 2

    KUBO’s class must train for this year’s school run.

    1 2Make another route in which KUBO has to turn at least once.

    Turn the route into a function and try the function out on the map.

  • 19

    KUBO runs - Task 3LESSON 4 - Loops / Activity 2

    KUBO’s class must train for this year’s school run.

    1 2Debug if necessary. Continue practicing with longer

    routes.

  • 20

    KUBO runs - Task 4LESSON 4 - Loops / Activity 2

    1 2Where else on the map could KUBO run to?

    Why do you think loops are useful?

    Reflection task

  • 21

    KUBO runs - Task 5LESSON 4 - Loops / Activity 2

    1 2Disregard any obstacle on the map and create a route to take KUBO from one end of the map and back again. First, make a blue function using one Go Forward 1 tile and the parameter 8. Make KUBO memorize it.

    Build a red function that includes both a loop and the blue function tiles as subroutines. After KUBO memorizes the red function, place a red tile on any quadrant in column A to test it out. Debug if necessary. Show your routes and explain to your classmates how you used loops.

    Extension activity ideas

  • 22

    OutcomesBy the end of this section, students should be able to:

    • Work with loops.• Make functions with loops to program KUBO to gather as

    many treasures as possible.

    Activity 3 Gathering treasures

    (25 minutes)

  • 23

    Activity 3 - Gathering treasuresYou need this before you can begin

    - KUBOs- Activity Map

    - Movement TagTiles®

    - Paper or Post-Its

    - Loop and Parameter TagTiles®

    - Blue Record and Play Function TagTiles®

    - Red Record and Play Function TagTiles®

    MATERIALS

  • 24

    Gathering treasures - Task 1LESSON 4 - Loops / Activity 3

    KUBO is going to race to gather all nine sticky notes on the activity map as quickly as possible.

    1 2Place nine sticky notes down on the activity map.

    Program your KUBO using loops and subroutines.

    TASKS 1, 2 AND 3

  • 25

    Gathering treasures - Task 2LESSON 4 - Loops / Activity 3

    1 2One team starts their KUBO in quadrant A3.

    One team starts their KUBO in quadrant A8.

    KUBO is going to race to gather all nine sticky notes on the activity map as quickly as possible.

    A3A8

  • 26

    Gathering treasures - Task 2LESSON 4 - Loops / Activity 3

    3 4Both KUBOS must start moving at the same time.

    Whichever KUBO reaches a quadrant first claims the treasure for their team.

    KUBO is going to race to gather all nine sticky notes on the activity map as quickly as possible.

  • 27

    Gathering treasures - Task 3LESSON 4 - Loops / Activity 3

    1 2

    KUBO is going to race to gather all nine sticky notes on the activity map as quickly as possible.

    Save all the sticky notes you collect. After both KUBOs have finished executing the first function, continue making more functions until all treasures have been collected.

  • 28

    Gathering treasures - Task 3LESSON 4 - Loops / Activity 3

    3

    KUBO is going to race to gather all nine sticky notes on the activity map as quickly as possible.

    Tally all the sticky notes at the end. The team with the most sticky notes is the winner.

  • 29

    Gathering treasures - Task 4LESSON 4 - Loops / Activity 3

    1 2After playing the game, are there any changes you would like to have done with programming KUBO? Why or why not?

    What things affected the strategy you used while playing the game?

    Reflection task

  • 30

    Gathering treasures - Task 5LESSON 4 - Loops / Activity 3

    1 2Play the game again, but this time use a total of 11 sticky notes. Make sure all the sticky notes are in different locations from the first game.

    Play the game again, this time with nine sticky notes total, and set a time limit. Now you must collect the largest number of treasures in only 15 minutes.

    Extension activity ideas

  • 31

    OutcomesBy the end of this section, students should be able to:

    • Work with loops.• Use the blank map to design your own map and create a

    play.

    Activity 4 Create a map and a play

    (25 minutes)

  • 32

    Activity 4 - Create a map and a play

    - Pencils

    You need this before you can begin

    - Scissors - KUBOs- Activity Map

    - Movement TagTiles®

    - BlankMap

    - Blue Record and Play Function TagTiles®

    - Red Record and Play Function TagTiles®

    - Loop and Parameter TagTiles®

    MATERIALS

  • 33

    Create a map and a play - Task 1LESSON 4 - Loops / Activity 4

    KUBO is very excited to play a part in your play, butKUBO doesn’t know what the play is about. You get to decide.

    1 2Use your imagination and make your own map.

    You will use your map as the surroundings in which you set your play.

    TASKS 1, 2 AND 3

  • 34

    Create a map and a play - Task 2LESSON 4 - Loops / Activity 4

    KUBO is very excited to play a part in your play, butKUBO doesn’t know what the play is about. You get to decide.

    1Cut one long edge off your blank map.

    2Stick your map to the activity map with sticky tack.

  • 35

    Create a map and a play - Task 2LESSON 4 - Loops / Activity 4

    KUBO is very excited to play a part in your play, butKUBO doesn’t know what the play is about. You get to decide.

    3Make sure the grids line up.

    4After everyone is done with their maps, share them with each other and discuss your designs.

  • 36

    Create a map and a play - Task 3LESSON 4 - Loops / Activity 4

    KUBO is very excited to play a part in your play, butKUBO doesn’t know what the play is about. You get to decide.

    1Create a play to take place on the map you just created.

    2You must include at least one loop in your play.

  • 37

    Create a map and a play - Task 3LESSON 4 - Loops / Activity 4

    KUBO is very excited to play a part in your play, butKUBO doesn’t know what the play is about. You get to decide.

    3Rehearse your play.

    4When you’re ready, if there’s time set the stage and perform the play for your classmates.

  • 38

    Create a map and a play - Task 4LESSON 4 - Loops / Activity 4

    1 2How do you feel about your play now that you’ve performed it?

    What would you change about your play if you were to go back and redo it?

    Reflection task

  • 39

    Create a map and a play - Task 5LESSON 4 - Loops / Activity 4

    1 2Create a route for KUBO to take on your map. Turn your route into a function and have KUBO execute it.

    Add a subroutine to your function and have KUBO execute it. Turn this function into a loop and have KUBO execute it.

    Extension activity ideas

  • 40

    Loops

    • Explain what a loop is.

    • Make a function that includes a loop.

    • Design a new map for KUBO.

    • Write a story.

    • Program KUBO to do what the story describes.

    Assessment

  • 41

    LoopsSocial Studdies: • Using the blank activity map, create

    a map to scale of the United States that KUBO can use to travel and visit friends.

    ELA:• Create a travel lop and write or draw about

    KUBO’s daily adventures while visiting friends across the United States.

    Math/Science:• View and evaluate a variety of dance Study

    weather conditions of different locations in the United States to help KUBO know how to prepare for and respond to the different types of weather.

    Cross-curriculum connections

    Activity 1 Around the campfire (25 minutes)MaterialsTasks 1, 2 and 3Reflection taskExtension activity ideas

    Activity 2 KUBO runs (25 minutes)MaterialsTasks 1, 2 and 3Reflection taskExtension activity ideas

    Activity 3 Gathering treasures (25 minutes)MaterialsTasks 1, 2 and 3Reflection taskExtension activity ideas

    Activity 4 Create a map and a play (25 minutes)MaterialsTasks 1, 2 and 3Reflection taskExtension activity ideas

    AssessmentCross-curriculum connections