8-10 yrs old
11-13 yrs old
14-18 yrs old
Reading and Writing
October 12, 2020
Educator Guide Conditionals
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 activities.
1. Are there chores you do at your home that you must do in order to earn your allowance?
Example Answers: Make my bed, unload the dishwasher, walk the dog
2. If your parents told you that if you make all A’s, they will give you $50 but you make all A’s and 1 B. Will you get the money? Why or why not?
No, the $50 was on the condition that I got all A’s.
3. In a video game, what are some of the requirements that must be met in order to complete the game?
Accomplish the task within the time limit, follow the rules of the game.
TUTORIAL 1: AGENT MAZE (Novice-5 minutes)
Main objective: The learner will code the agent to find its way through any maze by using chat commands and an if / else loop.
Answer Key: https://makecode.com/_5rLHph15H4YX
TUTORIAL 2: CHOPPING TREES (Intermediate-10 minutes)
Main objective: The learner will use chat commands and loops to code the agent to automatically chop down trees.
Answer key: https://makecode.com/_bHYdKfKCy7Ri
TUTORIAL 3: AGENT PYRAMID (Expert-5 minutes)
Main objective: The learner will use chat commands and loops to code the agent to build a pyramid.
Answer key: https://makecode.com/_ig5Ho3V8LRJg
EDUCATIONAL APPLICATION CASE (15 minutes)
Subject Area: Language Arts
Main purpose of the activity:
The learner’s challenge is to use if statements to spawn animals that eat that particular crop. In this world, there are various enclosures that call for a type of plant to be planted and a specific animal to be spawned. The learner will have to read the signs at each enclosure and then write the code using an if statement. (It should be - if the crop is planted, then the specific animal is spawned.)
Outcome of This Activity: The learner will have successfully used if statements to spawn specific plants for a specific animal.
Possible Solution for this Activity: https://makecode.com/_KJoEkh89baVy
Ask the learners about new skills that they have practiced during the activity to reinforce the concepts.
It makes the code inside the loop repeat forever.
It’s a statement that tells a program to do different actions depending on whether a condition is true or false.
No. Else will only run if the if portion of the code is not met.
A while loop will run the code only while a certain condition is being met.
Sign up for the Minecraft: Education Edition newsletter. We promise to respect your inbox.