Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!

Analysis: Design And Testing Add in library

265 Download4 Pages 953 Words

Question:

1. Design

Prior to commencing coding, you need to plan what you’re going to code. Write an algorithm that describes how your program is going to work and how it links together.

2. Testing

Explain how you have tested your code and the results of your testing. This means writing down the inputs and actions which the marker should follow to reproduce the scenarios you used to check the program is working.Include screenshots demonstrating the results when you tested your code.

 

 

Answers:

Design:

Analysis:

  • Register a new movie: The cinema needs to store the movie’s title, rating, duration, synopsis, release date, billed cast, director, genre, distributor and official website.
  • Schedule movie sessions: There is only one cinema screen, so only one movie can be shown at any time.
  • Display the movie listing: This lists all movies. When a movie is selected, list all the details for that movie, including its future session times.
  • Display all the session times for a selected day: These should be sorted from the earliest session time to the latest time, and identify which movie is screening at which time.

Pseudo-code:

Main() function

Declare variables

 

WHILE loop

PRINT menu

INPUT choice

                                   

                        Switch case

                                    1st case:

                                                Register new movie

                                    2nd case:

                                                Schedule exist movie

                                    3rd case:

                                                Display movie list

                                    4th case:

                                                Display session for selected day

                                    5th case:

                                                Exit from program

                                    Default case:

                                                PRINT “Invalid choice”

                        END Switch case          

Main() function END

 

Testing:

Serial number

Unit to be tested

Criteria of success

Method used for testing

Testing results

1

Resister new movie

Data will add in array

Enter menu option 1. Enter movie’s title, rating, duration, synopsis, release date, billed cast, director, genre, distributor and official website.

Pass 

2

Schedule exist movie

Session time and day movie will  add in movie detail

Enter menu option 2. Session time and day add in movie detail.

pass

3

Display movie list

 

All movie data display

Enter menu option 3. Data display

Pass

 

4

Display session for selected day

 

All movie data for selected day will display

Enter menu option 4. Selected data display.

Pass

5

Exit from program

 

Exit from program

Enter menu option 5. Exit from program

Pass

 

 

 

Reference:

  • https://www.tutorialspoint.com/java/
  • https://java.sun.com/docs/books/tutorial/
  • https://math.hws.edu/javanotes/
OR

MyAssignmenthelp.com has appointed best assignment experts who are wizards of words. Our writers know every trick of crafting high quality write-ups within a short period. With years of experiences, we have become one of the most prolific assignment help services in the USA. We deliver custom-made help to students with writing different types of assignments. We guarantee total need-based and timely service, and this is why increasing numbers of students prefer to buy assignment online.

Most Downloaded Sample of Management

274 Download1 Pages 48 Words

Toulin Method Of Argumentation

You are required to write a researched argument essay that convinces persuades the reader of your position / stance. This is an academic, researched and referenced do...

Read More Tags: Australia Arlington Management Management University of New South Wales Management 
202 Download9 Pages 2,237 Words

Consumer Behavior Assignment

Executive Summary The purpose of this report is to elaborate the factors which are considered by individuals before selecting an occupation. Choosing an occupati...

Read More Tags: Australia Arlington Management Management University of New South Wales Management 
367 Download13 Pages 3,112 Words

Internet Marketing Plan For River Island

Introduction With the increase enhancement in the field of technology, it has been considered essential by the businesses to implement such technology in their b...

Read More Tags: Australia Arlington Management Management University of New South Wales Management 
328 Download9 Pages 2,203 Words

Strategic Role Of HR In Mergers & Acquisitions

Executive Summary In a merger & acquisition, role of an HR has emerged as a very critical function. At each stage of merger and acquisition process, HR plays a s...

Read More Tags: Australia Arlington Management Management University of New South Wales Management 
355 Download7 Pages 1,521 Words

Relationship Between Knowledge Management, Organization Learning And HRM

Introduction In this competitive business environment where every business organization is trying to attract the customers of each other, it becomes essential for ...

Read More Tags: Australia Arlington Management Management University of New South Wales Management 
Next
Free plagiarismFree plagiarism check online on mobile
Have any Query?