Desirable for a structure chart

Assignment Help Basic Computer Science
Reference no: EM131349047

Question 1: Explain and give an example for the following concepts

Encapsulation

Inheritance

Polymorphism.

Question 2: Why is it desirable for a structure chart to be highly cohesive and loosely coupled?

Part 2

Question 3: Draw a use case diagram for the system described below:

Web Customer uses our web site to make purchases online. Top level functionality given by the web site are View ItemsMake Purchase and Client Register. View Items use case could be used by customer as top level use case if customer only wants to find and see some products before registration. This use case could also be used as a part of Make Purchase use case after registration. Client Register use case allows customer to register on the web site to Make Purchase. Note, that Checkout use case is part of making purchase.

View Items use case have several optional use cases - customer may search for items, browse items, view items recommended for him/her, add items to shopping cart or wish list.

Question 4: Draw a State Machine Diagram to show the following behaviors of a DVD player. (9 Marks)

Be sure to label all transitions with the events that cause them. The DVD player is initially off. It can turned on or off by pressing the power button. When it is off, none of the other buttons do anything. When it is on, the tray can be opened or closed by pressing the eject button. When it is open, only the power and eject buttons will do anything. When the tray is closed, the motor is either spinning or stopped. When you turn on the power or close the tray, the machine first spins up the motor to read the disk. It then gets one of three signals:

(a) no disk - it stops the motor, and disables all buttons other than eject and power.

(b) timeout, indicating it was unable to read the disk - it stops the motor, displays an error message, and disables all buttons other than eject and power.

(c) disk okay - it stops the motor, but enables the play control buttons. There are three play control buttons. Play starts the DVD playing, spinning up the motor if necessary. Pause toggles between playing and paused, without stopping the motor. Pause does nothing if pressed when the motor is stopped. Stop stops the motor, if it was spinning. 

Question 5: Draw a sequence diagram to illustrate the normal operation of the Use Case for "Change DVDs" for the DVD player described in the previous question.

Your sequence should start in the Playing state, and describe the scenario in which the user ejects the current disk, inserts a new one, and selects play again. Assume the DVD player software has to send signals to the motor (to tell it when to spin) and to the tray (to open and close), and in both cases needs to await confirmation from the device before doing anything else. Use activation bars to indicate when the devices are active. State any further assumptions you make.

Reference no: EM131349047

Questions Cloud

Write a response on alain de bottons status anxiety : Write a minimum of a 150-word response regarding the first hour of Alain de Botton's _Status Anxiety_. https://www.youtube.com/watch?v=t1MqJPHxy6g
Information for a financial management institution : You are now looking at information for a financial management institution. They have a variety of funds. Each fund can have multiple types of investments (Common stock, municipal bonds, growth stock, etc.). Each fund could have several different m..
Sql a list of all products with vendor information : You have 2 tables PRODUCT (P_CODE, P_DESCRIPT, P_PRICE, V_CODE) and VENDOR (V_CODE, V_NAME, V_CONTACT, V_AREACODE, V_PHONE), how would you generate using SQL a list of all products with their vendor information?  Make sure the output is in order o..
Write a five page research paper about humility : Write a research paper 3-5 page about HUMILITY. I want atlest 4 references no more of em from the internet.
Desirable for a structure chart : Question 2: Why is it desirable for a structure chart to be highly cohesive and loosely coupled?
Write a paper about race inequality and class difference : Write a paper about Race inequality, and class difference. Main argument: Race inequality issue is not independent from social class difference, there is an interrelationship between race and class.
Attached to webpage development : HTML is usually attached to webpage development, giving instructions to a web browser on how to display the webpage, how does it work with mobile development?
Analyze a numeric value provided by the user : Write a code segment that will analyze a numeric value provided by the user to determine if he or she is a newborn, a child, a teenager, or an adult. Make sure to include the following in your code:
Problem regarding the technological breakthroughs : Of all the technological breakthroughs since 2000, which will have the most influence on the next ten years of your life? Please answer this question in two phases; first, deal with life around you and, second, focus directly on the life of you an..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Executive summary on the bellingham incident

Please provide a one page executive summary on the Bellingham incident. Your summary should not exceed one single spaced page and should include Who, What, When, Where, Why and How the situation could have been handled. Or

  Relational schema

What would be the correct answer for them? For questions x - y refer to the following relational schema: Which of the following statements is true? (a)  a key is a superkey (b)  a candidate key is a superkey (c)  a primary key is a superkey (d)  all ..

  Latest software and technology

Research the latest software and technology trends surrounding 3D printers. Focus your research on the growth of the 3D printing market. Be prepared to discuss.

  Determine the maximum distance that the block

If the coefficient of static friction between the beam and the block, and between the rope and the peg, is µs = 0.4 determine the maximum distance that the block can be placed from A and still remain in equilibrium. Assume the block will not tip

  Heptadeca class that encapsulates a heptadeca number

Write a Heptadeca class that encapsulates a Heptadeca number value. A Heptadeca number is one with 17 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, G. The methods the class has are: public void read(), public void set(String), public voi..

  Describe the reliability and validity research reported

Read about a measure that interests you and describe the reliability and validity research reported.

  Rewrite the add place mark () and make style node ()

That is, construct the place marks by pasting strings together, and then convert the strings into XML nodes with a call to xml Parse And Add ().

  Write an equation that models the situation

How long was the trucker driving in the city to the nearest hundredth of an hour?

  Goals for the information technology strategic plan

Conduct a strengths, weaknesses, opportunities, and threats (SWOT) analysis for the business venture in question for the company - goals for the information technology strategic plan

  Compare and contrast the mmorpg interaction environment

Describe cognitive social phenomena that occur specifically to the context of the MMORPG that wouldn't happen in a face-to-face chess game. Compare and contrast the MMORPG interaction environment and a face-to-face environment where chess is being..

  Can the improvements occur indefinitely

How do you account for the difference? Can the improvements occur indefinitely? If not, what factors could limit continuous improvement?

  Relational algebra and calculus

Answer the following questions with your own answers and thoughts. DO NOT USE THE INTERNET, GOOGLE, OR ANY OTHER WEB SOURCE. You may use your notes and book ONLY. Copy and pasting will be considered cheating.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd