Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

Simulation of a DVD Player with Internet Access

This assignment is in two parts. You are to design and then build a software simulation of a DVD player that also has WIFI capability and can connect to Netflix and play streaming video (we will keep it to Netflix at the moment).

You are given the complete specification for the remote control until. It is modeled in the Analysis Classification model provided to you. Your task will be:

- In assignment #4 to complete the analysis and design of the DVDPLayer class which is the model (in the MV two-tier arvchitecture) so that we can test out its functioning against the remote control before actually building the hardware DVD Player.

- Implement the classes RemoteControl and DVDPlayer to demonstrate that the remote control can correctly and completely control the DVD player. For output of the DVD player functioning you can either direct status messages to the console, or build a GUI to demonstrate the DVD status. In either case, this is a view and must be totally separate from the DVDPlayer class.

Part 1:

System Requirements:

The remote control has been chosen. The following descriptions provide what is expected behaviour from the DVD player when each button is pressed:

- HomeBtn: places the DVD player into home state and displays the home screen. If connected to the inetrnet, the connection is terminated. If a DVD is playing, it is stopped.

- InternetBtn: If at home screen and internet service is available, connect to the last internet site visited (ex. Netflix). If there is no last site, go to "list of sites" screen. If no internet service is available, do nothing.
- NavRightBtn: Move the cursor display to the right
- NavLeftBtn: Move the cursor display to the left
- NavUpBtn: Move the cursor display up one line
- NavDownBtn: Move the cursor display down one line
- PlayBtn: if a DVD is inserted and we are not in internet mode, begin playing the DVD. If connected to an internet site, play (or select) the highlighted item (ex. Movie)
- StopBtn: if playing a DVD, stop playing. If streaming an Internet movie stop and return to the movie select screen.
- PauseBtn: Pause playing the DVD or Internet movie
- FFwdBtn: Fast-forward the DVD or Internet movie
- FRevBtn: Fast-reverse the DVD or Internet movie
- SkipSceneFwdBtn: skip one sceen forward on the DVD; if an internet movie, play in fast-forward
- SkipSceneRevBtn: skip one sceen backward on the DVD; if an internet movie, play in fast-reverse
- EjectBtn: If a DVD is in the drawer, open the drawer.
- CloseDrawerBtn: Close the drawer if open.
- OpenDrawerBtn: Open the drawer if closed.

- AcceptBtn: (Internet only) Accept the highlighted item on the Internet site
- PowerBtn: If DVD is currently ON, turn it OFF. If it is OFF, turn it ON.

Assignment Requirements:

- Create a UML State-Change-Model for the DVDPlayer. You will be implementing from this. The model requires the following:
o The diagram model (can be hand-drawn and scanned into your doc or you can use a computer-based tool to produce your model diagram). You can start from what I have provided. This model needs to be fully labeled (internal events for each state and labeled transitions between states)
o A description of each state, event, guard condition and action (behavior method)
o Identify the valid start and stop states.

- Create a Classification implementation model (class model with all supporting attributes and behavior added) for the DVDPlayer.
o Include all attributes and their data types.
o Include a description of the parameters and behaviour of each method.

Remember this model represents exactly what you will be implementing. Since we are focusing on the DVDPlayer class, I really don't care about the design and implementation of the DVDSimulationDisplay class or the RemoteControl class, other than I can choose which button I press; the display correctly shows what the player has (or is) doing, and that there is only one public function in the player called by the remote control. Also there should be only one public function in the display class called by the player.

State-change-model diagram: (correctness and accurate representation using UML modeling symbols)

State-change-model documentation: (concise and accurate description of each state, event, guard condition and behaviour requirement)

Classification Implementation model: (correct use of the UML symbols and their meanings; accurracy when matched to the specification of the narrative and the state-change-model)

Classification Implementation model documentation: (descriptions and details for each class, listing the attributes and behaviour descriptions including their signatures).

This model is your starting point. You can continue from here to complete the model.

77_Figure.png

Java, Programming

  • Category:- Java
  • Reference No.:- M92339944
  • Price:- $70

Guranteed 36 Hours Delivery, In Price:- $70

Have any Question?


Related Questions in Java

In ruby the hash class inherits from enumerable suggesting

In Ruby, the Hash class inherits from Enumerable, suggesting to a programmer that Hashes are collections. In Java, however, the Map classes are not part of the JCF (Java Collections Framework). For each language, provide ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Assignment - method in our madnessthe emphasis for this

Assignment - "Method in our Madness" The emphasis for this assignment is methods with parameters. In preparation for this assignment, create a folder called Assign_3 for the DrJava projects for the assignment. A Cityscap ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Assignment - java program using array of objectsobjectives

Assignment - JAVA Program using array of objects Objectives - This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details - For this assignment, you are required to develop a Menu ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As