8-10 yrs old
11-13 yrs old
14-18 yrs old
Art and Design
October 12, 2020
Educator Guide Loops & Nested Loops
Loops and Nested Loops world
These learning activities are designed to provide the learner with flexibility and choice in his/her learning.
The learner will be introduced to three tutorials that are at three levels of difficulty (Novice, Intermediate and Expert) which are followed by an educational activity where he/she can apply coding skills.
The learner may choose a tutorial at his/her appropriate difficulty level and language OR choose to complete all tutorials and the educational activity. It will take approximately an hour to complete all the activities.
Eating, walking, breathing, etc
It will start over.
We want to do the same code in a different spot.
TUTORIAL 1: SPAWN ANIMALS (Novice - 5 minutes)
Main objective: The learner will use events and for loops to spawn animals when specific events happen.
View the solution at: https://makecode.com/_5cKFx0Wad5Pq
TUTORIAL 2: FARM (Intermediate - 10 minutes)
Main objective: The learner will code the agent using for loops to plant carrots at the farm.
View the solution at: https://makecode.com/_fc9H0Y1v2WLR
TUTORIAL 3: HOUSE (Expert - 15 minutes)
Main objective: The learner will use build a house using for loops.
View the solution at: https://makecode.com/_Amid8E6u9VvJ
EDUCATIONAL APPLICATION (15 minutes)
Subject Area: Art
Main purpose of the activity:
The learner’s challenge is to use loops in the creation of pixel art.
Outcome of This Activity: The learner will have successfully created pixel art through using for loops and nested loops.
Possible Solution for this Activity:
View sample code online for a pixel art of a Minecraft creeper: https://makecode.com/_WP27LT7dw8cr
Ask the learners about new skills that they have practiced during the activity to reinforce the concepts.
It repeats the code for a specific number of times.
It is a loop within a loop.
Use loops to repeat a certain string of code.
Sign up for the Minecraft: Education Edition newsletter. We promise to respect your inbox.