Island1-full-554x368.png

Island 1

11-13 yrs old

14-18 yrs old

Computer Science

INTRODUCTION TO PYTHON, SAY, VARIABLES AND THE AGENT.

9
avatar Submitted By: Minecraft Education

October 23, 2020

Learning Objectives

  • Become familiar with the Notebooks interface.
  • Understand the say() command and it’s purpose for outputting information.
  • Become familiar with Variables within Python and their basic uses.
  • Begin to understand the concept of Decomposition as students break problems down into codable solutions for the Agent.
  • Begin to see the importance of Sequencing, putting things in order, so that the Agent can complete its tasks.
  • Utilize the following CSTA standards: 1A-AP-11, 1B-AP-09, 1B-AP-15

Guiding Ideas

Welcome to the Kingdom of the Floating Islands. This mystical kingdom floats high above the world below. Throughout this collection of lessons, students will learn the basics of Python, through a series of themed tasks in each world. Completing these tasks will allow the kingdom to develop further technologically.

Lead-in:

Explain to students that they have come to the mystical floating islands kingdom to help the residents develop their understanding of technology. Before students can move forward to the more technologically advanced versions of the civilization, they must start off in Neolithic times.

Student Activities

Coding activities: 30-45 min

Activity 1.1: Say()

Activity 1.2: Variables

Activity 2: Agent move

Activity 3: Farmland

Activity 4: Picking up apples

Activity 5: Mine

Completion:

Once the student completes activity 5, they are provided with a Coal Ore block. If they take this to the Wizard, he is able to convert it into a piece of Coal, which once taken to the Chieftain, completes the world.

Performance Expectations

Upon completion of this lesson students should be able to answer the following questions:

  • What key on your keyboard is used to open the Codebuilder window?

Answer: C

  • How many steps were required to complete the final Mine task?

Answer: Varies depending on student.

  • What do “Variables” do?

Answer: They allow for storing data temporarily inside a program.

  • What command is used to move the Agent left?

Answer: agent.move(“left”)

  • What command is used to output a message in the game from Python?

Answer: say(“My amazing message”)