Week 7
Practice
Practice Materials
Parsons Problems
Chapter 3 didn't add enough to add new code practice. So the following problems were created by me and use a specialized Parsons Problem website. They are provided to give you some additional practice on the material from Chapter 2 while focusing more on the IPO format we are emphasizing this week..
- Bob's Burgers Cash Register
- Converting Minutes to Hours and Minutes
- Change from a parking lot vending machine
- Converting dollars to Euros
"Solutions" for these four programs are included in the Code Walkthrough section below.
Debugging Problems
Fixing programs that are "almost" correct but not yet functional is a crucial skill. As teachers, we often assume students will develop this skill by debugging their own work. However, it can be beneficial to provide explicit practice in debugging. The following problem is designed to give you semi-guided practice in debugging.
The solution for this program is included in the Code Walkthrough section below.
(Paired) Practice Programs
- ACTIVITY: IPO (Paired) Programing Activity
Additional Textbook Activities
- 2.17. Write Code Questions
- Unlike the materials in Section 2.16 (that you used last week) these can't be toggled back and forth between Parsons Problems or Write Code problems.
- Instead, these are some additional (and completely optional) opportunities to practice writing code.