ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 05 May 2017 My Price 9.00

Web Customer

         Note:

Submission Deadline: 31st December, 2016 (11:59 pm)The following questions are from Chapters: 10, 11 and 14. Copied assignment will be graded zero mark. Assignment submitted after due date will not be accepted, it will be considered to be late and will have zero mark. Assignments must be submitted through BB only. Emailed assignments will NOT be considered.Encapsulation.

Inheritance

Polymorphism.

 

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

 

 

Part 2

 

 

Question 3: Draw a use case diagram for the system described below: (10 Marks)

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. (9 Marks)

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.

Answers

(11)
Status NEW Posted 05 May 2017 06:05 AM My Price 9.00

-----------

Attachments

file 1493967362-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)
Relevent Questions