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 Items, Make 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.
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..
|