Design a program that assigns seats on an airplane

Assignment Help Programming Languages
Reference no: EM13713

Part - 1 (Object-Oriented Design)

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes. Grading scales convert the total scores in each category into letter grades (e.g., 100-94 = A, 93-91 = A-,90-88 =B+, etc.) To evaluate the final grade, the category grades are converted to numeric values (A = 4.0, A- =,3.7, B+=3.3, etc.). Those scores are weighted according to a set of weights (e.g., exams 40%, homework 35%, quizzes 25%), and the resulting numeric value is again converted into a letter grade. Design a user interface that firms up the requirements, use CRC cards to discover classes and methods, provide class diagrams, and implement your program.

Part - 2 ( The Unified Modeling Language)

Airline seating. Design and implement a program that assigns seats on an airplane. Assume the airplane has 20 seats in first class (5 rows of 4 seats each, separated by an aisle) and 180 seats in economy class (30 rows of 6 seats each, separated by an aisle). Your program should take three commands: add passengers, show seating, and quit. When passengers are added, ask for the class (first or economy), the number of passengers traveling together (1 or 2 in first class; 1 to 3 in economy), and the seating preference (aisle or window in first class: aisle, center, or window in economy). Then try to find a match and assign the seats. If no match exists, print a message.

Reference no: EM13713

Questions Cloud

Cost-benefit analysis : A cost-benefit analysis of electronic medical records in primary care
Design a course registration system : Create an application which represents a simplified course registration system using ArrayLists and HashMaps.
Effect of financial leverage : The Effect of Financial Leverage and working capital management
The role of hr : The role of HR in the 21 st  century is becoming increasingly vital. A significant claim in support of Strategic Human Resource Management is with regards to its contribution to the firm's competitive advantage
Design a program that assigns seats on an airplane : Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.
Pulse width modulator : A pulse width modulation (PWM) circuit works by varying the duty cycle of the square wave while keeping the period fixed.
Design a base class shape with virtual functions : Design a base class shape with virtual functions
Develop a dynamic website open university : Develop a dynamic website Open University
Traffic light controller : The schematic of the traffic light controller

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

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

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

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