Island2-full-554x368.png

Island 2

11-13 yrs old

14-18 yrs old

Computer Science

USING CONDITIONAL LOGIC (IF STATEMENTS) IN PYTHON.

5
avatar Submitted By: Minecraft Education

October 23, 2020

Skills

  • Creativity
  • Critical Thinking

Learning Objectives

  • Understand that computers make decisions all the time.
  • Become familiar with the concept of an “if” statement, to make these decisions in Python.
  • Build up experience with multiple different approaches using conditional statements: comparing Booleans, comparing integers, using "else" statements.
  • Continue to develop an understanding of the concept of Decomposition, as students break problems down into codable solutions for the Agent.
  • Continue to see the importance of Sequencing, putting things in order, so that the Agent can complete its tasks.
  • Utilize the following CSTA standards: 1B-AP-09, 1B-AP-11, 1B-AP-12

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.

In Island 2, you will be focusing on decisions in code, specifically “If this, then do this” style decisions.

Lead-in:

Explain to students, that this island builds upon the previous work they have done in Island 1. Once again, their agent will be returning, although in this lesson they will be focusing on decisions made in code. Their agent will help them complete a series of tasks that they wouldn’t be able to otherwise complete.

Student Activities

CODING ACTIVITIES: 30-45 minutes

Activity 1: (Weather)

Activity 2: (Mine 1)

Activity 3: (Forest)

Activity 4: (Farm)

Activity 5: (Mine 2)

Activity 6: (Blacksmith)

Completion: Once the student has given the iron ingot to the mayor, the world is complete.

 

Performance Expectations

Completion of all the activities within the world is required.

Skills

  • Creativity
  • Critical Thinking