Uranus’ Rings and Neptune

Uranus’ Rings and Neptune

8-10 yrs old

11-13 yrs old

Computer Science



Block 2: Lesson 5. Finding the Correct Code

avatar Submitted By: Minecraft Education

June 24, 2020

Learning Objectives

  • Building upon Debugging in some of our previous lessons, this lesson will focus on evaluating the code and testing it to determine which coding snippet is correct.

Guiding Ideas


• This lesson is different in format in comparison to other lessons. It’s flipped. The majority of the lesson students will be reading the code and evaluating it and then trying it out in game.

• Remind students there will be only 1 attempt for them to try the code out in game, so all the preparation needs to happen prior to the in-game time.

This lesson will be focusing on fine-tuning what students have been working on in this block: handling details, conditionals, and loops. Because they are handling activities that require a lot of thought and planning and the Agent will be doing multiple jobs all at once, attention to detail is vital. The focus of this lesson is for students to find the code snippet that will achieve the objective.

Student Activities

Activity 1: Uranus’s rings

Activity 2: Neptune’s Moon Triton

Performance Expectations

1. Q.: Why is Sequencing important?

A.: If sequencing is wrong, the program won’t run correctly and the result will be unexpected.

2. Q.: What is a Persistence?

A.: Not giving up. Persistence works best when you try things many different ways, many different times.

3. Q.: What was your favorite planet to visit over the course of this block?

A.: Answers will vary.

4. Q.: Why is it important to understand the code before running it in-game?

A.: Answers will vary. It can cause irreparable damage to the game.