•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 455,967 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,741 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 3534 | Replies: 14
![]() |
•
•
Join Date: Nov 2007
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Ticket Reservation System
You are asked to implement a ticket reservation system for a travel agency so that staff can book flights for their passengers.
You are required to use CPP principles you have learned from the class to implement and to realize the basic system functions. The principles includes:
- ADT
- composition
- Inheritance (single and multiple if any)
- Polymorphism
- Exception handling
- Well code organization (separation the declaration and implementation)
- Author's documentation
/*
Class name:
Author:
Date:
Modf:
Description:
Interface:
Tack:
Return:
*/
- File processing
- ect
There are 3 phases in this project: phase1(due xx/11/07), you are required to submit the initial user interface and the UML notation [using Rational rose ] of basic classes. Phase 2(due xx/11/07), you are required to implement the UML notation with updating if any. After phase 2 you may have chance to discuss with the TA during your lab section time and any time if the time of the TA excuse. Phase 3 the final version to be submitted before XX/12/07,
This is a description of Ticket Reservation Office, where any passenger can reserve a ticket for his/her journey. The agency has 2 type of employee, staff/assistance/clacker and administrator each with a specific operations
Staff operations:
The ticket reservation agency assistant can use the system to:
1. Reserve tickets.
2. Query for suitable flights.
3. Modify reservation.
4. cancel reservation
When reserve ticket option is chosen, the assistant will ask the passenger(s) for the following:
- Departure and destination information (city, airport ………)
- date and time of the flight
- type of the flight (One-way or Return)
- Type of class (first class, second ….)
- number of tickets (for adults and children)
- Personal information for each person (name, age, ………..)
Before insertion the personal information, the system checks availability of the flight and display the ticket price for this flight.
When query option is chosen, the system prompts the assistant to choose search by:
- destination
- destination and time
- destination and number of tickets
the result of searching is a list of available flights according the searching attribute.
When modify reservation option is chosen …
you can update or change any attribute of data that you had entered before.
When cancel reservation option is chosen to cancel the reservation.
Ticket Reservation System stores Airplane information (name, capacity, no of seats of each class…..)
For each Flight, there are two types of list main list and reserved list , the first is with 20 seats for each class, and the second is with 6 seats. If one of passenger of main list decided to cancel reservation, one of the reserved list would travel .
The system stores the two lists, and any related information (passenger name, ) and uses the related information from Flight and Airplane .
Administrator operations:
1 - Add Flight
2 - Delete Flight
3 - Modify flight
4 - report: cancelled reservation (period)
5 - report: cancelled reservation (flight)
6 - report: reservation by staff
Add flight
The administrator enter the information of a new flight line ( departure, destination, …..) to the stored data.
Delete Flight\
An existing flight to be removed from the flight list which stored in the system.
Modify flight
All or part of the information of a stored flight to be changed
ReportingOne role of the administrator of the system to monitoring the reservation process, one way is report generations.
Report: cancelled reservation (period)
For this operation the administrator to generate a report about the reservation where cancelled during an interval (start to end time)
Report: cancelled reservation (flight)
A report to be generate for the cancelled reservation of a specific flight
Report: reservation by staff
A report to list all reservation where cancelled by a specific staff.
Note:
- we talked about some functions/procedures of the system. you should extract more attributes, operations , classes and relationships relevant to Reservation Ticket System.
- Here are some suggested classes and files: You may drop or add new classes or files
o Classes Tickets (one way, return, chilled, adult ), reservation (cancelled ) ,flight, hup(destination, departure), date, time, class (first, economic), passenger(is a person), admin (is a person with privilege), staff/assistance (is a persona), list of passengers (main, wait)
o Files administrators' information, staff members' information, flight, passenger list ( main, wait), flight passengers' information, cancelled reservation,
You are asked to implement a ticket reservation system for a travel agency so that staff can book flights for their passengers.
You are required to use CPP principles you have learned from the class to implement and to realize the basic system functions. The principles includes:
- ADT
- composition
- Inheritance (single and multiple if any)
- Polymorphism
- Exception handling
- Well code organization (separation the declaration and implementation)
- Author's documentation
/*
Class name:
Author:
Date:
Modf:
Description:
Interface:
Tack:
Return:
*/
- File processing
- ect
There are 3 phases in this project: phase1(due xx/11/07), you are required to submit the initial user interface and the UML notation [using Rational rose ] of basic classes. Phase 2(due xx/11/07), you are required to implement the UML notation with updating if any. After phase 2 you may have chance to discuss with the TA during your lab section time and any time if the time of the TA excuse. Phase 3 the final version to be submitted before XX/12/07,
This is a description of Ticket Reservation Office, where any passenger can reserve a ticket for his/her journey. The agency has 2 type of employee, staff/assistance/clacker and administrator each with a specific operations
Staff operations:
The ticket reservation agency assistant can use the system to:
1. Reserve tickets.
2. Query for suitable flights.
3. Modify reservation.
4. cancel reservation
When reserve ticket option is chosen, the assistant will ask the passenger(s) for the following:
- Departure and destination information (city, airport ………)
- date and time of the flight
- type of the flight (One-way or Return)
- Type of class (first class, second ….)
- number of tickets (for adults and children)
- Personal information for each person (name, age, ………..)
Before insertion the personal information, the system checks availability of the flight and display the ticket price for this flight.
When query option is chosen, the system prompts the assistant to choose search by:
- destination
- destination and time
- destination and number of tickets
the result of searching is a list of available flights according the searching attribute.
When modify reservation option is chosen …
you can update or change any attribute of data that you had entered before.
When cancel reservation option is chosen to cancel the reservation.
Ticket Reservation System stores Airplane information (name, capacity, no of seats of each class…..)
For each Flight, there are two types of list main list and reserved list , the first is with 20 seats for each class, and the second is with 6 seats. If one of passenger of main list decided to cancel reservation, one of the reserved list would travel .
The system stores the two lists, and any related information (passenger name, ) and uses the related information from Flight and Airplane .
Administrator operations:
1 - Add Flight
2 - Delete Flight
3 - Modify flight
4 - report: cancelled reservation (period)
5 - report: cancelled reservation (flight)
6 - report: reservation by staff
Add flight
The administrator enter the information of a new flight line ( departure, destination, …..) to the stored data.
Delete Flight\
An existing flight to be removed from the flight list which stored in the system.
Modify flight
All or part of the information of a stored flight to be changed
ReportingOne role of the administrator of the system to monitoring the reservation process, one way is report generations.
Report: cancelled reservation (period)
For this operation the administrator to generate a report about the reservation where cancelled during an interval (start to end time)
Report: cancelled reservation (flight)
A report to be generate for the cancelled reservation of a specific flight
Report: reservation by staff
A report to list all reservation where cancelled by a specific staff.
Note:
- we talked about some functions/procedures of the system. you should extract more attributes, operations , classes and relationships relevant to Reservation Ticket System.
- Here are some suggested classes and files: You may drop or add new classes or files
o Classes Tickets (one way, return, chilled, adult ), reservation (cancelled ) ,flight, hup(destination, departure), date, time, class (first, economic), passenger(is a person), admin (is a person with privilege), staff/assistance (is a persona), list of passengers (main, wait)
o Files administrators' information, staff members' information, flight, passenger list ( main, wait), flight passengers' information, cancelled reservation,
Last edited by WaltP : Nov 24th, 2007 at 4:19 am. Reason: Removed obnoxious color tags
The programmer (ie YOU) had better start with the reading of the forum rules, and putting forth some demonstration of effort which is more than simply copy/pasting the assignment with a horrid colour scheme.
> phase1(due xx/11/07),
Lemme guess, this is already passed, or tomorrow.
I'm also going to guess that you haven't even done phase 1.
> phase1(due xx/11/07),
Lemme guess, this is already passed, or tomorrow.
I'm also going to guess that you haven't even done phase 1.
•
•
•
•
Dear salem ;
the first " Thank you "
but
sorry salem this must be submit
"
phase1(due 25/11/07), you are required to submit the initial user interface and the UML notation [using Rational rose ] of basic classes
"
and ... etc
plezz help me
I don't understand. Because it is due 25/11/07 you are unable to:
•
•
•
•
The programmer (ie YOU) had better start with the reading of the forum rules, and putting forth some demonstration of effort which is more than simply copy/pasting the assignment with a horrid colour scheme.
Is this correct? If so, think again. Rules are rules and you need to do what they say if we have any chance of helping you. As it is we are unable to help because you didn't give us anything we can help with.
Age is unimportant -- except in cheese
•
•
Join Date: Nov 2007
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Dear ALL
We have 3 phase
phase1(due 25/11/07), you are required to submit the initial user interface and the UML notation [using Rational rose ] of basic classes
Now must be start in phase 1
then
phase 2
then
phase 3
//////////////////\\\\\\\\\\\\\\\\\\/////////////\\\\\\\\\
phase 1 :
I need " all class I suggest will be in code "
and his function >>>>>>>
then the UML
We have 3 phase
phase1(due 25/11/07), you are required to submit the initial user interface and the UML notation [using Rational rose ] of basic classes
Now must be start in phase 1
then
phase 2
then
phase 3
//////////////////\\\\\\\\\\\\\\\\\\/////////////\\\\\\\\\
phase 1 :
I need " all class I suggest will be in code "
and his function >>>>>>>
then the UML
•
•
Join Date: May 2006
Location: ★ ijug.net ★
Posts: 1,012
Reputation:
Rep Power: 6
Solved Threads: 68
This is a VB project assignment or VC++ ?
If you want to get some homework help , first show some effort yourself.
If you want to get some homework help , first show some effort yourself.
> phase1(due 25/11/07), you are required to submit the initial user interface and the UML
> notation [using Rational rose ] of basic classes
OK, since that is now tomorrow, how far have you got?
Perhaps post a screen dump (or a URL or two to an image upload site) where we can see your initial UML design, and perhaps offer some advice on it.
> notation [using Rational rose ] of basic classes
OK, since that is now tomorrow, how far have you got?
Perhaps post a screen dump (or a URL or two to an image upload site) where we can see your initial UML design, and perhaps offer some advice on it.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- help in developing online reservation system (Java)
- can anyone help me in bus reservation system (C)
- HELP - Airline Reservation System - ERD required (Computer Science and Software Design)
- "Missing Operating System" on bootup TECRA 8100 (Storage)
- How to write a *WORKING* reservation system for public computers (C)
Other Threads in the C++ Forum
- Previous Thread: Someone Plz Help!!
- Next Thread: converting an ASCII file to a txt(csv) file



Linear Mode