IT210 Week 8 Object Oriented Data and Processes
in Computers by neel
Favorite
Add it to your favorites and revisit later
Instant Download
Previewing 1 of 2 total pages.
Regular Price: $14.29
Your Price: $10.00 (30% discount)
You Save: $4.29
Your Price: $10.00 (30% discount)
You Save: $4.29
Description
Driving a vehicle
Open the door
Sit in the driver's seat
Close the Door
Put on the seatbelt
Put key in ignition
Check area (mirrors)
Put the car in gear
Press down on the gas pedal
Think about this task in an object-oriented way, and identify the objects involved in the task.
Objects:
-
Car has the following objects (door, ignition, seat-belt, mirror, gear, gas pedal}
- Key
Identify how you can encapsulate the data and processes you identified into an object-oriented design.
With Car
Set true
Set true
Call Ignition
Call Mirror adjust
Call Gearngage
Call GasPedal
End With Car
The fundamental difference between an Object-Oriented design and a structured design is how control is handled. In a structured approach, control is modeled separately...
Comments (0)
You must sign in to make a comment.
Rating:
Published On:
05/11/2015
Print Length:
2 page(s)
Word Count:
349
File Name:
it210-week-8-object-oriented-data-and-processes-83.doc
File Size:
26.11 KB (0.03 MB)
Sold By:
neel
Purchased:
0 times
Best Seller Ranking:
#29462