{"id":13367,"date":"2021-07-09T17:21:03","date_gmt":"2021-07-09T17:21:03","guid":{"rendered":"https:\/\/papersspot.com\/blog\/2021\/07\/09\/it-210-checkpoint-interfaces-and-communication-messages\/"},"modified":"2021-07-09T17:21:03","modified_gmt":"2021-07-09T17:21:03","slug":"it-210-checkpoint-interfaces-and-communication-messages","status":"publish","type":"post","link":"https:\/\/papersspot.com\/blog\/2021\/07\/09\/it-210-checkpoint-interfaces-and-communication-messages\/","title":{"rendered":"IT 210 CheckPoint Interfaces and Communication Messages"},"content":{"rendered":"<p>You already understand that<br \/> object-oriented analysis and design emulates the way human beings tend to think<br \/> and conceptualize problems in the everyday world. With a little practice,<br \/> object-oriented programming will become second nature to you. <\/p>\n<p> As<br \/> an example, consider a typical house in which there are several bedrooms, a<br \/> kitchen, and a laundry room\u2014each with a distinct function. You sleep in the<br \/> bedroom, you wash clothes in the laundry room, and you cook in the kitchen.<br \/> Each room encapsulates all the items needed to complete the necessary tasks. <\/p>\n<p> You<br \/> do not have an oven in the laundry room or a washing machine in the kitchen.<br \/> However, when you do the laundry, you do not just add clothes to the washer and<br \/> wait in the laundry room; once the machine has started, you may go into the<br \/> kitchen and start cooking dinner. But how do you know when to go back to check<br \/> the laundry? When the washer buzzer sounds, a message is sent to alert you to<br \/> go back into the laundry room to put in a new load. While you are folding<br \/> clothes in the laundry room, the oven timer may ring to inform you that the<br \/> meat loaf is done. <\/p>\n<p> What<br \/> you have is a set of well-defined components: Each provides a single service to<br \/> communicate with the other components using simple messages when something<br \/> needs to be done. If you consider a kitchen, you see it is also composed of<br \/> several, smaller components, including the oven, refrigerator, and microwave. Top-level<br \/> objectsare composed of smaller components that do the actual<br \/> work. This perspective is a very natural way of looking at our world, and one<br \/> with which we are all familiar. We do the same thing in object-oriented programming: <\/p>\n<p> \u00b7\u00a0<br \/> Identify<br \/> components that perform a distinct service <\/p>\n<p> \u00b7\u00a0<br \/> Encapsulate<br \/> all the items in the component necessary to get the job done <\/p>\n<p> \u00b7\u00a0<br \/> Identify<br \/> the messages that need to be provided to the other components <\/p>\n<p> Although<br \/> the details can be quite complex, these details are the basic principles of<br \/> object-oriented programming. <\/p>\n<p> Consider the microwave oven in your<br \/> kitchen, using the object-oriented thinking described above. <\/p>\n<p> Create<br \/> a table with<br \/> the following four columns and use the following headings: Top-Level Objects,<br \/> Communicates With, Incoming Messages, and Outgoing Messages. <\/p>\n<p> \u00b7\u00a0<br \/> Create rows in the table to fill in the columns for<br \/> each of the Top-Level Objects found on a microwave. <\/p>\n<p> \u00b7\u00a0<br \/> Also in the table explainsome of the graphical user<br \/> interfaces (GUIs) and communications messages that occur during the operation<br \/> of a microwave. <\/p>\n<p> Describe<br \/> some of the advantages<br \/> of having a componentized system. For example, what happens if the<br \/> microwave breaks? <\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u2014each with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20],"class_list":["post-13367","post","type-post","status-publish","format-standard","hentry","category-research-paper-writing","tag-programming"],"_links":{"self":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/13367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/comments?post=13367"}],"version-history":[{"count":0,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/13367\/revisions"}],"wp:attachment":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/media?parent=13367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/categories?post=13367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/tags?post=13367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}