Pseudocode - Driving a Car
Driving a Car
? Write a short, structured design (pseudocode) 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 objectoriented
design.
? Describe the architectural differences between the object-oriented and structured
designs.
https://brainmass.com/computer-science/pseudocode/pseudocode-driving-a-car-192345
Solution Preview
Write a short, structured design (pseudocode only) that accomplishes this task.
Driving a Car:
In the driving seat
Close the Door
Seat belts on
Use key for ignition
Check Mirror
Engage Gears
Press Accelerator
? Think about this task in an object-oriented way, and identify the objects involved in the
task.
Objects:
1. ...
Solution Summary
This solution provides a pseudocode on driving a car with a clear list of tasks. It also describes the architectural difference between object-oriented and structured designs.