Purchase Solution

Object-Oriented Data and Processes

Not what you're looking for?

Ask Custom Question

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 objectoriented design.
? Describe the architectural differences between the object-oriented and structured designs. Which of the designs makes more sense to you? Why?

Purchase this Solution

Solution Summary

Illustrates how a common task that we perform, such as driving, could be viewed in an object-oriented way. Also describes the architectural differences between the two most common form of programming desings, i.e., object-oriented and procedural or structured designs.

Solution Preview

Q. Identify a task you perform regularly, such as cooking, mowing the lawn, or driving a car.

Driving a Car

Think about this task in an object-oriented way, and identify the objects involved in the task.
Objects:
1. Car has the following objects (door, ignition, seat belt, mirror, gear, and accelerator)
2. Key

Q. Write a short, structured design (pseudocode only) that accomplishes this task.

In the driving seat
Close the Door
Seat belts on
Use key for ...

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Networking Questions

This quiz consists of some basic networking questions.