Display a summary of all of the movie titles

Assignment Help Data Structure & Algorithms
Reference no: EM131274211

Lab Assignment

Goal:

The purpose of this lab is to demonstrate an understanding of working with arrays of objects.

Problem:

You are working at the Johnson Center Cinema. The theatre must keep track of the titles and lengths of all movies shown in the theatres. In addition, the cinema manager also wants to know which movie is the longest, so they can sit those people in the theatre with the most comfortable seats. At any given time, the theatre can have up to 5 movies playing. Create an object oriented solution that allows the theatre manager to enter up to 5 movies playing. Keep in mind you overheard the manager saying the theatre is considering expansion in the future and may want to increase the number of movies it can show. Display a summary of all of the movie titles, the number of movies entered, and the length of the longest movie. Note: Remember the good design principles you have already learned in the course. In addition, you must demonstrate use of an array of objects. Hint: Don't forget about the different modifiers available (e.g. static) to determine what might be needed for each variable and method. The example run below shows how the program would run.

Reference no: EM131274211

Questions Cloud

Examine health patterns and practices transmitted : Examine health patterns and practices transmitted across generations.
Changes the permissions on all the existing files : Using "absolute" (numeric) notation, changes the permissions on all the existing files in the ~/NetworkingClass/scripts directory so that the "user" (owner) has all permissions, all users in the same group have read and execute permissions, and al..
Effects of social networking including its benefits : In your opinion and based on your research, submit a post discussing the effects of social networking including its benefits, its negative influences, and how a Christian should deal with the technology?
Minimize the number of gates in design : Design a gate-level circuit that computes the function , where the input X is a 3-bit unsigned number represented by X2X1X0 and the output Y is a 7-bit unsigned number represented by Y6Y5Y4Y3Y2Y1Y0. Minimize the number of gates in your design
Display a summary of all of the movie titles : Display a summary of all of the movie titles, the number of movies entered, and the length of the longest movie. Note: Remember the good design principles you have already learned in the course.
Design a program that has two parallel arrays : Design a program that has 2 parallel arrays: a String array named people that is initalized with the names of seven strangers, and a string array named phonenumbers that is initalized with the seven strangers phonenumbers.
Identify and describe the topic of consideration : Identify and describe the topic of consideration. ((Bill of rights)) In ACA
American accounting association decision-making model : Work through this scenario using the American Accounting Association decision-making model, and decide what action Luke should take.
What is the difference between composition and aggregation : What is the difference between composition and aggregation? Draw class diagram based on the code below. What is composition and what symbol is used to represent it?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Creating a database design in visio-business rules

Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors te..

  Portfolio website containing thumbnail imagery

Explain in general terms what you think the role of good design is. Next, recognize 3-characteristics of an effective gallery website. Then find an example of a portfolio website containing thumbnail imagery.

  Write a c++ program that creates and populate a tree

Write a C++ program that creates and populate a tree for an arithmetic expression. Then it should perform an in-order and a post-order traversal on the tree. The input of the program will be a text file with the arithmetic expressions in RPN.

  Determine the number of peaks and valleys in given terrain

Problem: Navigation over a terrain can be an important concept. Usually you want to avoid high areas (peaks) and low areas (valleys) -

  Methods and arrays assignment

A method is an identifiable, self-contained section of code that performs a specific task, such as calculating the square root of a number or resetting the text boxes on an interface. Methods have many uses and are a common way to add functionality t..

  What is the running time of your algorithm in terms of n

If you give a greedy algorithm, be sure to prove that your algorithm is correct by proving both greedy choice and optimal program substructure. What is the running time of your algorithm, in terms of n?

  Conduct space complexity analysis of the algorithm

conduct time complexity analysis of the algorithm (and also mention best case and worst case analysis if applicable).

  Use structures and pointers to create linked lists

Objective: Use structures and pointers to create linked lists. Use knowledge of pointers to modify linked lists. Implement a recursive function.

  What is difference between serial and sequential searching

What is the difference between serial, sequential and indexed sequential searching

  Computing the total dollar sales

A corporation has a product line that includes five items that sell for $100, $75, $120, $150, and $35. There are four salespersons working for this corporation,

  Describe an algorithm to play the game of nim

Describe an algorithm to play the Game of Nim using all of the three tools discussed in class (pseudocode, flowchart, hierarchy chart).

  How to move from any spanning tree to other spanning tree

Illustrate that it is possible to move from any spanning tree T to any other spanning tree T0 by performing series of edge-swaps, that is, by moving from neighbor to neighbor.

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