Turn That Frown Upside Down

Learn how to write alternate code to yield the same results in your program and explore the value of being able to provide multiple solutions to a problem.

Grades 3-12 60 min Resource by:

In this lesson, students take another step in creating code that they can wear! The Turn That Frown Upside Down lesson shows students how they can use coding blocks to make the Code Cube™ display different images based on the position that it’s facing. After students complete this task, they are challenged to explore how they can apply their learning to English language arts (ELA), social and emotional learning (SEL), math, and science activities.

Learning Objectives

  • Learn how to make the Code Cube display different images based on the position that it’s facing.
  • ELA: Use precise language and domain-specific vocabulary to inform about or explain the topic.
  • SEL: Through relationship skills, practice communication.
  • Math: Create two images that would point someone in the same direction whether the display is facing up or down.
  • Science: Represent data in tables and graphical displays to describe typical weather conditions expected during a particular season.

What You’ll Need

Hands-on

Minds-on

  • Computational thinking
  • Creativity
  • Problem-solving

Let’s create images that will change based on the position of the Code Cube. Students can follow the sample code provided in the student pages and can also plan out their design using the student worksheet. After they have completed the lesson, students can choose to further their coding prowess by completing the provided ELA, SEL, math, or science activities.

  • What images did you create with your Code Cube?
  • How many different positions can the Code Cube detect?
  • How did your images represent the position of the Code Cube?

For Students

  • What other ways could you use the position of the Code Cube to display images?
  • What other designs would work well with different positions?
  • What are some ways that you could use your designs to have a positive effect on the world?

For Teachers

Additional challenge activities are available for students who want to test out their newly acquired coding skills. If students feel like they need more coding experience before attempting a challenge activity, have them complete more lessons.

For more information on Code Cube, visit Pitsco.com/CodeCube.