Reference no: EM131140057
Project Guidelines:
This is a group assignment with 5 students per group and it contributes to 20% of the total grade of this course. Student will choose their own group member based on their lecture groups.
Objectives:
To demonstrates the ability of students to:
- To evaluate student's skills in understanding a given problem, formulating a solution and implementing it in C programming language.
- To develop problem-solving skills
- To work together as a team to solve a given problem.
All topics are covered for this project. However, project question focuses on the topics below:-
1. Array
2. Pointer
3. Basic data structures
4. File processing
Project Description Instruction:
Your company CEO has asked to program the new Small Airline Reservation System in C. There are two
parts that need to develop.
Part 1: Develop a database of flight information.
The database of flight information should be kept in a file of structures with the following components:
a) Flight number (including airline code)
b) City of departure
c) Destination
d) Date and time of departure
e) Date and time of arrival
f) Number of first-class seats still available (seat 1 - 6)
g) Number of first-class seats sold
h) Number of economy-class seats still available (seat 7 - 24)
i) Number of economy-class seats sold
Include in your program separate functions for creation, deletion and update the flight records. For this project, limit your flight as per day reservation and to three routes as shown below:
a) Kuching to Kuala Lumpur ( 7 flights per day)
b) Kuching to Kota Kinabalu (5 flight per day)
c) Kuching to Penang (4 flight per day)
All these records must be saved in a file for reservation purposes.
Part 2: Flight reservation
In this project, you also need to implement make reservation and cancel reservation functions. For make reservation menu, your program should ask the user to choose the flight available from your database. Then, the user can choose the preferred seat as shown below:
Please type 1 for business class Please type 2 for economy class
If person types 1, the program should assign a seat in business class (seat 1 to 6). If the person types 2, then it should assign economy class (seat 7 to 24). Use a single-scripted array to represent the seating chart of plane. Initialize all the elements of array to 0 to indicate that all seats are empty. As each seat is assigned, set the corresponding elements of array to 1 to indicate that seat is no longer available. Your program should never assign a seat which is already purchased. When the business class is full, your program should ask the person if it is acceptable to be placed in economy class (and vice versa). If yes,
then make the appropriate seat assignment. Your program then should display the booking details. All these records must be saved in a separate file for each flight.
Your program also must be able to cancel the flight reservation if needed. In addition, this program can display all flight reservations for validation.
The general ledger of sanchez company contained
: Indicate the missing posting reference and amount in the control account, and the missing ending balance in the subsidiary ledger.
|
Explain the main factors that you should consider
: Explain the main factors that you should consider before deciding whether to buy a laptop or a tablet - Identify the key features of a laptop and a tablet. Next, discuss three (3) important characteristics of each that might influence your decision..
|
Who would you consult during the risk identification phase
: Who would you consult during the risk identification phase? How would you start the process of developing a risk management plan for the project? What rules are there for creating the Work breakdown structure ? Why is an accurate and comprehensive WB..
|
Benefits and risks of implementing virtual integration
: Dell manages a small number of suppliers and serves its customers directly. It has enjoyed great success by implementing "Virtual Integration", which as described by Michael Dell seems to be a way of capturing the advantages of vertical integration w..
|
Develop a database of flight information
: Develop a database of flight information - implement make reservation and cancel reservation functions. For make reservation menu, your program should ask the user to choose the flight available from your database.
|
Sole qualifier for job offer to simply an administrative
: Today, as organizations continuously seek ways to discover the best talent – standardized, and/or personalized testing have gone from serving as the sole qualifier for a job offer to simply an administrative or piece of the overall hiring puzzle. How..
|
Show the effect of the foreign interest rate increase
: If the authorities took no action, what would be the adjustment process along the lines described by the monetary approach to the balance of payments?
|
Extraneous material and replacing any buzz words
: Rewrite each of the following sentences as precise, informative claims, by removing any extraneous material and replacing any buzz words, politispeak, and ambiguous terms with meaningful terms. “Methodically, coldly, the salty wind scratched relentle..
|
Collection on account from customers
: For each transaction, indicate whether it would normally be recorded in a cash receipts journal, cash payments journal, sales journal, single-column purchases journal, or general journal.
|