This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Put Car in Drive Release Brake Pedal Accelerate Car End Subprogram Function Enter Car () as Real Set Enter Car = Car Entry End Function Function Drive Car () as Real Set Drive Car = Car Driver End Function End Class A programmer using the top-down, modular approach to program design begins by determining fundamental tasks. An object-oriented programmer, on the other hand, determines the fundamental objects associated with a problem. Structured designs make more sense to me because that’s what we have been working with during this entire class and have experience with it. However, I do see the major advantages of object-oriented programming. Over time with experience I am sure object oriented programming will make more since. I have gotten my feet wet with programming and have a lot to learn, but I am off to a good start....
View Full Document
- Spring '11
- Object-Oriented Programming, Car