Build a software simulation of a dvd player

Assignment Help JAVA Programming
Reference no: EM131531219

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

Reference no: EM131531219

Questions Cloud

Describe how the selected topic-influence is meaningful : Explain the topic/influence you have chosen. Describe how the selected topic/influence is meaningful and relevant to you as a professional.
What is the amount of the break-even lease payment : The company's tax rate is 34 percent. The firm also has the option of leasing the equipment. What is the amount of the break-even lease payment?
Large equity trading portfolio : Tim’s Loan Company has 900 M in a large equity trading portfolio.
Make a computer systems to control sections of rail track : A large corporation used to make computer systems to control sections of rail track. The designers of these systems were not permitted to use interrupts.
Build a software simulation of a dvd player : CMPT270 Intersession 2017 Assignment - Design and then build a software simulation of a DVD player that also has WIFI capability
First bank of clinton offers your firm earnings credit rate : The First Bank of Clinton offers your firm an earnings credit rate
Discuss any concerns with the typical development : Discuss any concerns with the typical development that you observed in the infant. Summarize your observations from the Palsdaycare (2010) video.
What is the firm horizon or continuing and value : What is the firm's horizon, or continuing, value? What is the firm's intrinsic value today, P0?
Design a hardware filter that would prevent any peripheral : During an IACK cycle, a peripheral may supply one of 256 possible vector numbers. This includes numbers from 0 to 63 that do not apply to vectored interrupts.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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