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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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