Design and develop console application for airline company

Assignment Help C/C++ Programming
Reference no: EM132310847

Programming Fundamentals Assignment - Programming Project

Problem Specification -

Your programming task is to design and develop a console application for an airline company that issues boarding passes for an aircraft with 40 seats. You have to design and develop a C# object-oriented solution for this task.

The application requires a class called Passenger that contains passenger information and allocates a seat number based on seat availability to each passenger. The data attributes for the passenger class includes, but not limited to, a security number, departure time, departure gate and other attributes that are required to issue a boarding pass.

You need to construct methods to obtain all information necessary from the passengers.

Your application must meet all the following requirements and handle all run time errors. 50% of the marks allocated for each requirement will be deducted if your program cannot handle the errors.

1. Passenger names should not be longer than 5 characters.

The passenger name (i.e. first and last) should be trimmed or truncated to 5 characters if the name provided is greater than 5 characters.

2. Security number on boarding pass should be a random number generated between 30,000 and 999,999.

3. Each seat number must only be allocated to one passenger. For example, if the seat number 14 is allocated to a passenger, then the seat number 14 should not be available for the any other passenger.

4. The application will continually accept passenger requests; the passenger attributes may vary from passenger to passenger (e.g. each passenger is a new object). Your application should also be able to handle a number of the passengers in a single invoice. For example, Mr John Smith may have bought two tickets for his wife and himself in single invoice. This means the application should be able to accept and allocate adjacent seats for the two passengers.

5. If all seats have been allocated to passengers, the application should not accept any more requests. Notify the Airline Assistant.

6. Date and Time should be printed when passenger entries are completed. (e.g., system time 24 April 2019).

7. You should have a method (part of the Passenger class) to list all the passenger names followed by their seat numbers and the security numbers once the flight is closed.

8. After check-in is completed, boarding passes must be displayed in a tabular format for each passenger.

9. Create a method to display the available seats to the Airline Assistant on request anytime. This method should be part of the Passenger class and will be invoked from the Main() method.

Project Deliverables -

1) Program Code - Zip your project file. Your program code will be evaluated by:

a) Assessing the conformance of the submitted program to the functional requirements outlined above. Does the program meet all these requirements, and how well?

b) Assessing the "means" of accomplishing the task by examining the program structure, style, clarity and conciseness, and if your code is written in a way that is clear and maintainable.

2) Code Demonstration -

(a) You will be asked to execute your code by inputting data provided by us during the practical sessions.

(b) You will be asked to do modifications to your original code to perform the same functionality.

(c) Non-attendance to this session for the code demonstration will result in zero mark for this part.

Attachment:- Assignment File.rar

Reference no: EM132310847

Questions Cloud

Describe the intended and unintended consequences : Explain how the nonprofits filled the need. Describe the intended and unintended consequences of these partnerships.
What type of survey method the researcher could use and why : 1305AFE Business Data Analysis Griffith University-Australia-What type of survey method the researcher could use and why?What kind of issues we may face in this
Comment on the morale of the corporate HR function in ABC : What major issues does the corporate HR function face are inhibiting it from becoming a strategic partner to business?Comment on the morale of the corporate HR?
Write down the least squares regression equation : STAT6003 : Statistics for Financial Decisions- laureate international universities-Estimate the linear regression model to investigate the relationship.
Design and develop console application for airline company : IFN501 Programming Fundamentals Assignment - Programming Project, Queensland University of Technology, Australia. Design console application for airline company
Draw a table to list the algorithms and the recommend time : MN502 Overview of Network Security Assignment - Security in Networked Systems, Melbourne Institute of Technology, Australia
Analyse financial projections and perform financial analysis : PAQM321 Project and Quality Management Assignment - Project Plan, Kent Institute Australia. Analyse financial projections and perform financial analysis
Develop strategic recommendation based on consumer behaviour : Time-Based Assignment - Question One: Developing strategic recommendations based on consumer behaviour theories
Conduct independent investigation into related topics : encourage students to conduct independent investigation into related topics from books, the Internet, and through practical investigation

Reviews

len2310847

5/23/2019 5:27:03 AM

Note - You are advised to use only the C# concepts taught in this Unit through Lectures and Tutorials. Otherwise, you will incur a penalty and could get zero. Note - You are required to use the Object-Oriented concepts from C# taught in Lectures and Tutorials. You are required to create only one class – Passenger, a number of data fields, corresponding properties, the necessary constructors and the required methods. All display methods should be Read Only. Your program must generate an appropriate error message if any input does not follow the required criteria and then request the user to re-enter the input.

len2310847

5/23/2019 5:26:58 AM

Note - Assessment submitted after the due date without an approved extension will not be marked and will receive a grade of 1 or 0%. If special circumstances prevent you from meeting the assessment due date, you can apply for an extension student services in the Faculty. If you do not have an approved extension, it is recommended that you submit the work you have completed by the due date, and it will be marked against the assessment criteria. You are allowed to bring only the softcopy of the code you submitted online to your practical session; no notes are allowed.

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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