Students translate the plans they documented in Part 1 of the Practice PT to a working program in through a series of steps.
Students will be able to:
- See rubric for guidance in measuring student learning
The Practice PT gives students the opportunity to design and program an app from scratch. Welcome to The Decision Maker App! Students demonstrate mastery of variables, conditionals, and functions by combining these elements into a useful program designed to solve the problem of making a decision.
Getting Started (2 mins)
- Today we are continuing work on the Decision Maker App. You will follow a series of steps while constructing your app.
Short Intro: The Warm Up today is short and light. Students should spend the maximum amount of time working on their projects.
Activity (43 mins)
Do This: Students now transition to Quorum Studio where they will build their app. Students should use the Unit_Project_Template project to build their apps.
Display: Share the steps for today with students.
Step 1: Design the App
- Students create the screens they designed in Step 6 in the Planning Guide.
Step 2: Create the Variables
- Using the list of variables from Step 4 in the Planning Guide students create their variables.
Step 3: Create the Function
- This is most likely the trickiest step.
- Students create an
UpdateScreen function with a conditional statement
- Students should reference the flowchart in Step 5 of the Planning Guide to help craft the Boolean expression(s) for the conditional statement.
- A comment is added to explain what it does (purpose) and how it does that (functionality)
Step 4: Handle Events
- Students should add code to the event handling actions to update the appropriate variables and add a call to the
- Students don't need to add code to all of the event handling actions, only the ones they need for their app.
Supporting students in Practice PT Lessons
At this point in the project attention shifts to Quorum Studio where students design and program their app. Continue to circulate the room and check in with students as needed to make sure instructions are clear and students understand expectations.
What should you expect?
- Planning Guides out on desks or tables so students can reference them while setting up their apps
- A healthy buzz in the classroom as students collaboratively debug
- There may be some student confusion on the steps to take in building their app. Direct students back to the instructions, and make sure they haven't skipped any of the steps.
Wrap Up (0 mins)
No wrap up today. All time should be spent on the project.
- CSTA K-12 Computer Science Standards (2017): 2-AP-10, 2-AP-11, 3A-AP-16, 3B-AP-14