IT210
Casandra Richardson
CheckPoint: Object-Oriented Data and Processes
Identify a task you perform regularly, such as cooking, mowing the lawn, or driving a car.
Write a short, structured design (pseudocode only) that accomplishes 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.
Describe the architectural differences between the object-oriented and structured designs. Which of the designs makes more sense to you? Why?
Post the assignment as a Word attachment.
Driving a Car
Objects:
Human
Car
Main Module Call Open Door Module Call Start Car Module …show more content…
Therefore the car will start. Then when the car is started, the driver sends another message by shifting the gear so that when the driver places the foot on the accelerator, it therefore, sends another message to the engine how the idle will be. How much RPM’s will run so that the car will begin to accelerate given the selection of gear the driver has placed it in. These are messages sent back and forth.
Differences:
In the OOP, the “objects” will store data, send messages to other objects and receives messages from other objects. The object oriented programs are more of a “real life” unlike other programs. Structured design is a series of functions rather than messages that OOP uses. Structured designs are more of a set of functions called to perform a task. There are no messages that go back and forth as OOP would. To me the use of OOP would be more beneficial because I feel this type would be more interactive with other programs rather than just a set of functions and or