posted by john .
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?
I don't know how to write this, I tried and it is wrong, does it make sense to anyone?
Object oriented design made as much sense to me as did Ontology in Philosophy. Perhaps they are trying to examine the same thing.
See if this helps: http://en.wikipedia.org/wiki/Object-oriented_design
This is what I did and my instructor said its wrong. How do I fix it?
Driving a Car
Class driving a car (door, seatBelt, mirrors, ignition, brake, gear, accelerator)
Sit in the driver seat
Sitting in the driver’s seat
Close the door
Put seat belt on
Put key in the ignition
Put foot on brake pedal
Put in gear
Place foot on the accelerator
End Sitting in the driver’s seat program
Set close door = true
Set seatBelt on = true
End With Car Program