IT 210 Week 8 Checkpoint #2: object-oriented data & processes
This Checkpoint has five parts:
Identify a task that you perform regularly, such as cooking, mowing the lawn, or driving a car.
Generate structured programming (not object oriented programming) pseudocode to accomplish this task.
Think about this task in an object-oriented way and identify the objects involved in the task.
Identify how you can encapsulate the data and processes you identified into an object-oriented design. As provided in Chapter 9 of Prelude to Programming, page 449, “Encapsulation is the incorporation of data and operations on that data into a single unit in such a way that the data can only be accessed through these operations. This is the fundamental idea behind classes and objects.”
Describe the architectural differences between the object-oriented and structured designs. Which of these designs do you prefer and why?