IT 210 Week 8-Checkpoint - Object-Oriented Data and Processes

IT 210 Week 8-Checkpoint - Object-Oriented Data and Processes

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Identify a task you perform regularly, such as cooking, mowing the lawn, or driving a car. I used driving a car as the example in this checkpoint. Write a short, structured design (pseudocode only) that accomplishes this task. Declare CarDoor as Real Declare Car as Real Declare BrakePedal as Real Declare Reverse as Real Declare SteeringWheel as Real Declare Drive as Real Open CarDoor Sit in Car Close CarDoor Press BrakePedal Start Car Put Car in Reverse Release BrakePedal Turn SteeringWheel Press BrakePedal Put Car in Drive Release BrakePedal Accelerate Car Straighten SteeringWheel End Program Think about this task in an object-oriented way, and identify the objects involved in the task. The car is an object involved in the task. Properties include: made of metal, plastic, and rubber, has four tires, has a front and back windshield, has driver and passenger windows, has a steering wheel, a shifter, headlights, taillights, an engine, a transmission and a gas tank. Functions include: transports the user to their desired destination. Works on: the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/29/2011 for the course IT210 IT210 taught by Professor Hh during the Spring '10 term at University of Phoenix.

Page1 / 3

IT 210 Week 8-Checkpoint - Object-Oriented Data and Processes

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online