10_resized-554x368.png

Python 101 - Lesson 10

11-13 yrs old

14-18 yrs old

Computer Science

Technology

CREATIVE CODING Course Conclusion

5
avatar Submitted By: Minecraft Education

September 8, 2020

Skills

  • Creativity
  • Critical Thinking

Learning Objectives

  • Create programs that include sequences, events, loops, and conditionals. 1B-AP-10
  • Compare and refine multiple algorithms for the same Challenge and determine which is the most appropriate. 1B-AP-08
  • Test and debug (identify and fix errors) a program or algorithm to ensure it runs as intended. 1B-AP-15

Guiding Ideas

In this lesson the students will:

- use all of their accumulated coding knowledge, to complete a number of challenges within a given time.

- have the possibility to compete with their peer in the same world.

Tell the students that the developers at CodingMine want to roll out the launch of the Agent to the public soon. However, it must be stress tested some more. That is why the developers have created a testing area where the Agent must complete up to ten challenges, within a time limit. These challenges are a compilation of all the use cases the Agent has been coded to carry out, throughout the course.

Explain to the students that they will be carrying out all the challenges in one large coding arena. In this arena they will be given a coding challenge to complete, they will then have 3.5 minutes (210 seconds) to finish it.

This lesson has been designed for both one or two players. The students have the ability to play with other students, competing to see who can complete a challenge in the fastest time.

Student Activities

Coding Concepts:

- Creative Coding

Coding challenges: (35 min)

For each of the challenges only one solution is given. Any other code that the students write, and if it achieves the same result, is valid.

If the 210 seconds have gone by and the students have not completed the current challenge they will automatically move on to the next challenge.

Tell the students that, to begin, they need to talk to the CEO and then select one or two players. If they select two players, each student needs to go into a separate pod.

Each student has a reset button in their coding arena; this button will only reset their challenge.

At the end of the lesson, the students will be able to see how many challenges they have completed.

Throughout the lesson, where applicable, the Agent has already been given all of the required blocks or items needed for that challenge.

1. Blinding lights: nested loops

2. Row by row: nested loops

3. Pumpkin or melon? : conditionals

4. Diamond rush: variables

5. What's that syntax!?: syntax

6. Spring arrival: debugging

7. Depths of the earth: loops

8. Diamond or dirt: calculation and Boolean

9. Do I need to list it out?: lists

10: The Agent labyrinth: while loops

Performance Expectations

Explain to the students that this is the end of the Python course. Now that they have completed the course, they have an understanding of Python command structure, syntax and the coding concepts of algorithms, loops, conditionals, sequencing, variables, lists, functions, and decomposition. Tell the students to continue their coding journey, as there is always more to be learned and more fun to be had!

Skills

  • Creativity
  • Critical Thinking