Steven_Barry_Week8 CP1 - variables over and over again...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Top-Level Objects Communicates with Incoming Messages Outgoing Messages Motor Wheels Deck Transmission Starter Throttle Steering wheel Deck control Axles Shifter Ignition Fuel consumption Direction to turn(left, right, neither) Move deck( up, down) Direction to move(forward, reverse) On/off Speed Turning Deck Height Direction mower goes Motor starts Example of a Riding Lawn Mower Explain some of the graphical user interfaces (GUIs) and communications messages that occur during the operation of that household object. The first communications message would Give the options to turn the key to on to start or off to stop mowing, then would prompt the user to select a deck height for mower to cut the grass at a certain height with height available from 0’’ to 5’’. After that it would ask the user/rider to pick a direction to move forward/reverse and which way to turn left, right, or not to turn and the user/ rider would select a throttle position to determine the speed to travel. Once these steps are complete the user could enter these
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: variables over and over again except for the first one which would only allow the user to turn the key to off. Describe some of the advantages of having a componentized system. For example, what happens if the object breaks? I would have to say that a componentized system advantages are that it is just that componentized meaning that if an object breaks you do not have to replace the whole system just the component that has broken within the system. Another advantage is that each component is design specifically to do a certain job which allows it to be highly efficient at performing its task and it can do this without needing to tell the other components how it does the task just the results of the task if the other components need the information to perform their tasks. This is known as encapsulation or information hiding....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern