AP CSP CodeX - Create PT PPR Code Segment Practice

Create PT PPR Code Segment Practice Lesson Plan

Create PT PPR Code Segment Practice

Students practice creating the image files of code segments they will need for the Create PT PPR.

⏰ 45 min 🎯 Grades 9-12 💻 CodeSpace 🎮 CodeX 🐍 Python
View Lesson Outline
📋

Overview

Students work on computers using CodeSpace and their four PT Practice programs. They learn what the Personalized Project Reference (PPR) includes, then practice capturing image files of code segments from each practice program. The Activity Guide takes the place of the digital portfolio, so students add their image files to it. Students check that each segment shows a list being created, a list being used, a function with a parameter, selection and iteration, and a function call.

🎯 Mission Goal: Students will practice creating a PPR for the Create PT submission.

🎯

Learning Targets

  • I can discuss the Create PT PPR.
  • I can create image files of code segments.
  • I can identify a list being created.
  • I can identify a list being used.
  • I can identify a function with a parameter, selection and iteration.
  • I can identify a function call.
💡

Key Concepts

  • The Personalized Project Reference (or PPR) is composed of four code segments from the Create PT. The same code segment can be used more than once if it meets more than one requirement.
  • The PPR will be printed by the AP coordinator for each student and distributed during the exam.
  • You can request the PPRs be printed in color if it is beneficial to your students.
  • The actual PPR code segments will be uploaded to the digital portfolio. Students should save their image files where they will be able to find and access them.
  • The PPR must be completed independently, even if students work with partners. If two students submit the same code segments, that is okay as long as they did so independently.
✅

Assessment Opportunities

☑️

Success Criteria

  • Create an image file of a list being created
  • Create an image file of a list being used
  • Create an image file of a function with a parameter, selection and iteration
  • Create an image file of a function call
🧰

Classroom Materials

  • ▸CodeX
  • ▸USB-C cable
  • ▸Computer
🚀

Extensions & Cross-Curricular

ExtensionStudents trade image files with a partner and check each one against the PPR requirements, including making sure no comments appear in the code.
ExtensionStudents look through a CodeX mission program they know well and mark where each PPR requirement shows up, then decide which segments would make strong image files.
Lang ArtsStudents write one sentence for each image file describing what the code segment does, using clear and precise wording.
📐

Standards

▾

CSTA Standards

The Create PT Prep unit reviews the CSTA Standards for Units 1, 2 and 3.

AP CSP Framework

AAP-1.D - Develop data abstraction using lists to store multiple elements.
AAP-2.N - Write expressions that use list indexing and list procedures.
AAP-3.A - Write statements to call procedures.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
📝
Preparing for the Lesson
  • Prepare the Activity Guide to give to students. It takes the place of the digital portfolio, and students add all of their image files to it.
  • Make sure students have all four PT Practice programs from earlier lessons completed and accessible, or have the code ready to give them.
  • Decide how students will capture image files. The slides use the snipping tool, and you can modify them if you use a different method.
  • Remind students that image files cannot have ANY comments in the code.

🧑‍🏫
Teacher Notes
  • Students complete this lesson on the computer, using CodeSpace to access programs.
  • Use the Sandbox in CodeSpace for programming. This lesson is not part of a mission.
  • Students use their PT Practice programs during this lesson. They should use their own code, but you can also give them code to practice with if needed.
  • Follow the slides for instructions and guidance. Additional help is provided in the Lesson Outline below.
  • This lesson has students practice the steps for the PPR with all four PT Practice programs. You can modify the assignment for fewer or more programs, or different programs.
  • The Activity Guide does not have a specific wrap-up. You can look at student examples, do your own review, give an exit ticket, etc. as your own lesson wrap-up.
🗺️

Lesson Outline

This outline gives one way to present the lesson.

🗣️Warm-up

Use a discussion strategy, like journaling, working at boards, selecting random students, or a form of think-pair-share. You cannot review this information too many times! Slides 2-3:

  • Review the requirements for the Create Performance Task and digital portfolio submissions.
💻Create PT PPR Code Segment Practice

💻 Students can work individually or with a collaborative partner.

Important: Students will refer to all four PT Practice programs from earlier lessons. They need to have them completed and accessible. Alternatively, you can give students the code from the earlier lessons.

The Activity Guide is a substitute for the digital portfolio. Students upload or paste all of their image files into the document.

Teaching tip: Slides 4-6: Overview of the PPR. Emphasize: The PPR must be completed independently! Emphasize: The image files cannot have ANY comments. Make sure comments are removed from any code segments used in the PPR.
Teaching tip: Slides 7-14: The slides go step-by-step through using the snipping tool to capture and save image files. If you are using a different method for image files, modify the slides as needed. If your students already know how to save image files, you can skip the step-by-step instructions and just have the students create the files. The image files will be added to the Activity Guide.
Teaching tip: Slides 15-19: Instructions with examples for the second, third and fourth image files.
Teaching tip: Slides 20-23: The slides show the text used in the digital portfolio, with important information highlighted. Use the slides as needed.
Teaching tip: Slides 24-27: Guided practice for creating image files for PT Practice 2. Examples of the image files are given, but not the step-by-step instructions.
Teaching tip: Slides 28-31: Instructions for using PT Practice 3 and PT Practice 4 for more PPR practice. Students are encouraged to compare their image files with other students and have a short discussion. This is a good time to do it. They can give each other feedback during practice, but not during the actual Create Performance Task.
Teaching tip: Slides 32-35: These slides review the PPR and give comments for each specific file, then final comments about the PPR.
🧑‍🤝‍🧑Wrap-Up

If time permits, do your own lesson wrap-up. You could ask students if they have any questions, or ask them to write notes to themselves about things they want to remember concerning the PPR.

✅ Formative assessment:

  • Daily reflection or journal entry
  • Completed Activity Guide
  • Class discussion
  • Exit ticket