Posted by john on Friday, December 4, 2009 at 5:58am.
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?
- computer - bobpursley, Friday, December 4, 2009 at 10:06am
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
- computer - john, Friday, December 4, 2009 at 10:44am
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
Answer This Question
More Related Questions
- programming - How would one write a short structured design for loading a truck...
- Radical and Rational exponents - Estimate how long it takes you to complete a ...
- Assistance Dogs - Please check my answer thanks:) After a dog learns to perform ...
- it - structured design (pseudocode only) driving a car
- Exceptional children - I need to do a task analysis on a self-care task that i ...
- MATH - An application of a rational function is T = (AB)/(A+B), which gives the...
- operation management - A firm is planning to set up an assembly line to assemble...
- math - it takes janet 9 hours to do a task and it take jancie 10 hours to do the...
- Early Child Ed. - Would you please make sure that I have chosen the best ...
- Physics - A particular task exposes the operator to alpha radiation at an ...