Unit 4: Day 13
START DATE:DUE DATE:STATUS:Open
Tasks
52.1 Discuss Procedural Abstraction
- Remind them of the following:
- AAP-3.B.1: One common type of abstraction is procedural abstraction, which provides a name for a process and allows a procedure to be used only knowing what it does, not how it does it
- AAP-3.B.2: Procedural abstraction allows a solution to a large problem to be based on the solution of smaller subproblems. This is accomplished by creating procedures to solve each of the subproblems.
- AAP-3.B.4: A procedural abstraction may extract shared features to generalize functionality instead of duplicating code. This allows for program code reuse, which helps manage complexity.
- AAP-3.B.6: Using procedural abstraction helps improve code readability.
- AAP-3.B.7: Using procedural abstraction in a program allows programmers to change the internals of the procedure (to make it faster, more efficient, use less storage, etc.) without needing to notify users of the change as long as what the procedure does is
- In partners, have students discuss the following questions by making reference to their programs they have worked one recently.
- Where do functions provide the advantages below?
- Some students may have monolithic (large functions in setup() or draw()) and no other functions. They could work with their partner to decompose those large functions into smaller functions.
- Those functions should perform a clear task and hide the details.
- Review Activity 2.11 if needed
52.2 Finish Assignment P5 2.5 - Yes/No, Rock or Tic
- Instructions for this assignment can be found in the folder: 1.4 - Year 1: Programming Part 2
- This assignment has 3 differentiated levels for students of different skills.
- Encourage your advanced students to attempt the Tic-Tac-Toe version
52.3 Practice Questions Using AP Classroom
- If you have access to AP Classroom, take a few moments to go over the Topic Questions for the various programming concepts.
Continue to Unit 5: Lists, Functions, and Other Advanced Programming Concepts »