programing

1. CheckPoint: Interfaces and Communication Messages

Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.

As an example, consider a typical house in which there are several bedrooms, a kitchen, and a laundry room—each with a distinct function. You sleep in the bedroom, you wash clothes in the laundry room, and you cook in the kitchen. Each room encapsulates all the items needed to complete the necessary tasks.

You do not have an oven in the laundry room or a washing machine in the kitchen. However, when you do the laundry, you do not just add clothes to the washer and wait in the laundry room; once the machine has started, you may go into the kitchen and start cooking dinner. But how do you know when to go back to check the laundry? When the washer buzzer sounds, a message is sent to alert you to go back into the laundry room to put in a new load. While you are folding clothes in the laundry room, the oven timer may ring to inform you that the meat loaf is done.

What you have is a set of well-defined components: Each provides a single service to communicate with the other components using simple messages when something needs to be done. If you consider a kitchen, you see it is also composed of several, smaller components, including the oven, refrigerator, and microwave. Top-level objects are composed of smaller components that do the actual work. This perspective is a very natural way of looking at our world, and one with which we are all familiar. We do the same thing in object-oriented programming:

o Identify components that perform a distinct service
o Encapsulate all the items in the component necessary to get the job done
o Identify the messages that need to be provided to the other components

Although the details can be quite complex, these details are the basic principles of object-oriented programming.

• Consider the microwave oven in your kitchen, using the object-oriented thinking described above.

• Create a table with the following four column headings: Top-Level Objects, Communicates With, Incoming Messages, and Outgoing Messages.

o Identity the top-level objects of the microwave.

o Explain some of the graphical user interfaces (GUIs) and communications messages that occur during the operation of a microwave.

• Describe some of the advantages of having a componentized system. For example, what happens if the microwave breaks?
• Post your completed CheckPoint as an attachment
I am not sure what they want.

  1. 👍 0
  2. 👎 0
  3. 👁 223
  1. top-level objets of the microwave
    door
    buttons
    glass

    communicates with
    control panel

    incoming messages
    level of cooking
    cooking time
    start
    end

    outgoing messages
    open door
    close door
    timer

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. statistics

    A statistics professor receives an average of five e-mail messages per day from students. Assume the number of messages approximates a Poisson distribution. What is the probability that on a randomly selected day she will have

    asked by Suphaluck on April 6, 2010
  2. Communication

    1. Jana knew she would not be able to pass her calculus class. As a result, she did not even bother to study for exams. As expected, Jana failed the class. This is an example of a. A self-fulfilling prophecy ****? b. self-

    asked by Hdhfhcbnx on March 16, 2020
  3. PSYCHOLOGY IN SOCIAL LIFE

    Which of the following statements is true of persuasive messages? A. Messages that offer a remedy for a person's fears tend to be effective. B. Messages presenting a one-sided argument tend to be more effective than "he said; she

    asked by Minh Turley on June 19, 2013
  4. algebra. help!

    Start from 110 feet away, a person on a bicycle rides towards a checkpoint and then passes it. The rider is travelling at a constant rate of 30 feet per second. The distance between the bicycle and the checkpoint is given by the

    asked by Hannah on October 27, 2014
  5. Public speaking

    focus on how people use messages to influence each other in various contexts and cultures, using a variety of media. A. Public speakers B. Radio personalities C. Motivational speakers D. Communication researchers

    asked by Cecilia on September 4, 2015
  1. math

    a cell phone company charges $10 per month, for up to 500 text messages, and $.15 for each additional text messages. Stanley was charged $14.50 last month for text messages. Write an equation to find the number of text messages

    asked by bailey on October 13, 2014
  2. English

    2. What type of communication is occurring when Sean Chris flex upon his performance in the state championship basketball game A. Interpersonal communication B.intrapersonal Communication* C. Mass communication D. Public

    asked by Nichole on August 14, 2019
  3. Mathematics

    A user is charged P300 montly for a particular mobile plan, which includes 100 free text messages. Messages in excess of 100 are chared P1 each. Represent the montly cost for text messaging using the functinn t(m), where m is the

    asked by Simpleng Tao on June 18, 2017
  4. Tech (Check answers) 4 questions

    1. How can someone be humorous and have fun online with others without becoming a bully? A) She can make her mean comments anonymously. B) She can use etiquette to make sure that written communication is clearly understood. C) She

    asked by Beyblade Burst is Awesome on April 10, 2018
  5. Technical Communication

    All of the following statements are valid EXCEPT the following: A. Social cues are not conveyed well in certain types of digital communication. B. Conference calls are no longer used as a form of virtual communication. C.

    asked by Amy on October 5, 2015
  6. adult education

    Define and discuss the similarities and differences between routine and positive messages, negative messages, and persuasive messages

    asked by robyn on December 19, 2008

You can view more similar questions or ask a new question.