AP CSP CodeX - Unit 1 Remix & Assessment

Unit 1 Remix & Assessment

Unit 1 Remix & Assessment

Students combine the concepts and code from Missions 3-5 to plan, build, and improve an original CodeX program, then show what they know on the Unit 1 reviews and tests.

⏰ 2-3 class periods 🎯 Grades 9-12 💻 CodeSpace 🎮 CodeX 🐍 Python
View Lesson Outline
📋

Overview

This page closes out Unit 1 with two paired components: the Unit 1 Remix Project and the Unit 1 Assessment. The remix gives students a chance to practice and apply what they learned in a program that interests them. Students review their Pixels1_functions, Display_functions, and Music1 programs, plan an original program, code it in the CodeSpace sandbox, and get feedback from classmates. Kahoot! reviews and two tests cover the vocabulary and coding concepts from the unit.

🎯 Remix Project Goal: Students will create an original program for CodeX that uses the concepts from Missions 3-5.

✅ Assessment Goal: Students will show what they know about Unit 1 vocabulary, coding, and concepts through the Kahoot! reviews and the unit tests.

🎯

Learning Targets

  • I can summarize the programs from Mission 3-5.
  • I can plan a program.
  • I can create an original program using concepts and code from programs in Mission 3-5.
  • I can get feedback on my project.
✅

Assessment Opportunities

  • Unit 1 Remix Planning Guide
  • Unit 1 Remix Project
  • Unit 1 Vocabulary Kahoot! Review
  • Unit 1 Coding & Concepts Kahoot! Review
  • Unit 1 Vocabulary and Coding Tests
  • Create PT Written Responses
☑️

Success Criteria

  • Filename is descriptive
  • Use at least one variable with a descriptive name
  • Uses at least one if statement for a button press
  • Light up at least one pixel
  • Display at least one image
  • Display or print at least one text string
  • Program includes at least one function
  • Optional: Play at least one audio file
  • Program is readable (blank lines)
  • Program includes at least two meaningful comments
  • Code follows programming conventions of indenting, punctuation and capitalization
  • Incorporate feedback in a program
  • Code runs with no errors
💡

Remix Project Ideas

The slides give suggestions for each mission, rated Mild, Medium, or Spicy. They are meant to prompt students with their own ideas and are not required. Let students pick their own projects, and use these for students who are drawing a complete blank.

Mission 3 ideas

  • Mild: Select an RGB color for all four pixels and display an image. After a short sleep(delay), select a different RGB color and image. Repeat as many times as you want.
  • Medium: Light all pixels with an RGB color. Then turn off the pixels and display an image. Then clear the screen and light the pixels with another RGB color. Repeat as many times as you want.
  • Spicy: Use one of the Mild or Medium ideas, but use random colors instead of an RGB color that you choose.

Mission 4 ideas

  • Mild: Add images to the code. When a pixel turns green, display an image like a happy face. When the pixel turns red, display a different image.
  • Medium: Use images instead of printed instructions. Display an arrow image and check for the correct button. For example, the north arrow points up and can be used for BTN_U.
  • Spicy: Use a color of pixel to indicate which button to press. For example, if a pixel turns RED, press BTN_U. If a pixel turns BLUE, press BTN_D. You can use six colors and all six buttons. Display an image (like a sad face) if the answer is incorrect. Add print statements at the beginning that explain the button and color combinations.
  • Think of your own creative project with buttons, pixels and images.

Mission 5 ideas

  • Create a string variable for the audio file and use it in your code.
  • Program several buttons to play music.
  • Before the music plays, turn on the pixel colors, display an image, or fill the screen with a color.
  • Mild: Create a game like Display, but use an audio prompt for which button to press, or use the audio "yes" and "no" to tell the user if they are correct.
  • Medium: Program each button to do a different task. For example, BTN_A could light pixels and display an image, BTN_B could display an image and play audio, and BTN_U could blink the pixels in random colors.
  • Medium: Create turn signals for a bicycle. Press BTN_L to turn left and BTN_R to turn right. Blink the pixels to show the turn, and use an audio file to say the direction.
  • Spicy: Combine the two Mild ideas into one program, with an audio prompt for the button and an audio file for correct or wrong. Add print statements at the beginning for an intro and a print statement at the end.
  • Spicy: Program the buttons to display a short poem or nursery rhyme and play an audio file.
  • Extension: Use a while True: loop to repeat the code so students do not have to restart the program every time. They will learn more about this in Mission 6.
📐

Standards

▾

The Unit 1 Remix Project covers the standards for Missions 3-5. In addition, the remix gives students an opportunity to work collaboratively in a team. These additional standards are met when students work collaboratively in teams and incorporate feedback from users.

CSTA Standards - Grades 9-10

3A-AP-19Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.

CSTA Standards - Grades 11-12

3B-AP-17Plan and develop programs for broad audiences using a software life cycle process.
3B-AP-20Use version control systems, integrated development environments (IDEs), and collaborative tools and practices (code documentation) in a group software project.

AP CSP Framework

CRD-1.AExplain how computing innovations are improved through collaboration.
CRD-1.CDemonstrate effective interpersonal skills during collaboration.
CRD-2.EDevelop a program using a development process.

AP CSP Framework - Computational Thinking Practices

1Computational Solution Design: Design and evaluate computational solutions for a purpose.
2Algorithms and Program Development: Develop and implement algorithms.
3.BUse abstraction to manage complexity in a program.
4.CIdentify and correct errors in algorithms and programs, including error discovery through testing.
6.ACollaborate in the development of solutions.
📝
Preparing for the Lesson
  • Use the slides to explain the project and give students step by step guidance.
  • Give the planning guide to students digitally so they can expand the tables if needed and have enough space for all the reflection questions.
  • You can modify the planning guide by changing or adding to the questions. You can also modify the Requirement Checklist to include specific coding concepts that you want to emphasize.
  • Select a rubric for the remix project. You can use one of the rubrics provided, use the success criteria checklist, or develop your own.
  • Two rubrics are provided. Both may include standards or requirements that are not covered in Unit 1. You can modify the rubrics as needed.
  • Consider how you want to end the remix project. You can have students present them to the class, have a gallery walk of projects, have students create a slide show about the project, and so on.

🧑‍🏫
Teacher Notes
  • The remix project gives students an opportunity to practice and apply what they have learned in a program that interests them.
  • We recommend using pair programming for this project, especially if students have been working individually during the missions. Collaboration is an important skill.
  • The suggestions in the slides are meant to prompt students with their own ideas and should not be required. It is important to let students pick their own projects, but the suggestions can be used for students who are drawing a complete blank.
  • Each remix project is an opportunity to have students practice the written response questions. They are not included in the planning guide, but you may want to pick one or two of the prompts and add them to the remix project.
  • Kahoot! Reviews are available for each mission (except Mission 1 and 2) and for Unit 1. They can be given in class any time or assigned for individual review.
  • Consider having reviews throughout the remix project as a way to start or end the class period. This can help students prepare for the unit tests and also become familiar with the format of multiple choice questions.
  • The Kahoot reviews and Unit 1 tests do not include concepts from the supplemental lessons. A list of all review and test questions is provided, and additional questions for the supplemental lessons are included in that document. You can create your own reviews and/or tests for these topics, or add them to existing materials.
  • The Unit 1 tests are divided into two exams: vocabulary and coding concepts. Use the questions in the way that fits your classroom procedures best. The tests are given as Microsoft Forms.
🗺️

Lesson Outline

The pacing guide gives this unit 2-3 class periods. Days 8-9 are Unit 1 review and the start of the remix. Day 10 is remix completion, peer reviews, and the Unit 1 assessments.

🗣️Warm-up / Hook

Introduce the idea of a remix project.

  • Ask: "Have you heard of music remixes?" A remix is when someone takes parts of a song, or several songs, and uses them to create something original.
  • Explain that it is time for a coding remix. A new program is created by adding new code and parts of code from programs students already created, or by using a similar idea in a different way.
  • Share what a remix lets students do: improve their skills, be creative, remember code from earlier programs and missions, work with other students, and design an original program and write the code on their own.
📖Introduce the Remix Project

Give students the Unit 1 Remix Planning Guide and walk through Step 1 using the slides.

  • Students open their programs from Mission 3, Mission 4, and Mission 5: Pixels1_functions, Display_functions, and Music1.
  • Students review what each program does and the concepts and skills it uses. For example, the final Mission 4 program played a game by asking the user to press buttons in order in under 1 second. It used print text strings, a button press with if, and conversion between string and integer.
  • Students fill out Step 1 of the planning guide.
  • Walk through the success criteria so students know what the finished project has to include.
💻Coding Time

Students work through Steps 2-5 of the remix, filling out the planning guide as they go.

  1. Brainstorm ideas. Students read through the remix ideas for each mission and decide with their partner what project to do. They can use one of the ideas or come up with their own. Students fill out Step 2 of the planning guide.
  2. Make a plan. Students decide what variables they need, what the buttons will do, which pixels will light up and what color, whether they will use audio files, what text they will show or print, and what functions they can define. They fill out Step 3 of the planning guide and write an algorithm on paper: what happens first, what happens next, what to import, and what happens in the button presses. Students can change their plan as they code and do not need to revise Step 3 while they work.
  3. Code the project. Students go to the sandbox in CodeSpace, start a new file with a descriptive name (like Remix1), and import their modules. They define variables, write functions near the top of the code, and write function calls and other instructions in the main program. Remind students to write a little bit at a time and test frequently. They can keep other programs open as a guide.
  4. Document, get feedback, and revise. Students add blank lines and comments so their code is readable. When the program is finished, they show it to other students. The planning guide has space for two peer reviews, which can come from two peers or one peer and the student. Students use the feedback to improve their project.
Teaching tip: Pair programming works well for this project, especially if students worked individually during the missions. Remind students to stop and test often: just get one thing to work, then move on. If there is an error, fix it before continuing, and ask others for help.
🧑‍🤝‍🧑Class Debrief

Students share their projects and run projects from other students. You can have students present to the class, hold a gallery walk, or have students create a slide show about their project.

Students complete the Post-Remix Reflection in the planning guide:

  • What did you change in your project after reading the feedback?
  • How did collaboration affect the development of your program?
  • What did you learn about programming from completing this project?
✏️Assessment

Close out the unit with reviews and the Unit 1 tests.

  • Review with the Kahoot! reviews for Missions 1-3, Mission 4, Mission 5, and Unit 1 vocabulary and coding. They can start or end class periods throughout the remix.
  • Give the Unit 1 Vocab Test and the Unit 1 Coding and Concepts Test. Both are provided as MS Forms.
  • Collect the remix program and score it with the rubric or the success criteria checklist you selected.
  • Optional: Assign one or two Create PT written response prompts as part of the remix project.