943,997 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 8618
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Nov 23rd, 2007
0

Help me " Ticket Reservation System"

Expand Post »
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

ReportingOne 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mastro is offline Offline
9 posts
since Nov 2007
Nov 23rd, 2007
0

Re: Help me " Ticket Reservation System"

the programmer must be in OOP " C++" Language
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mastro is offline Offline
9 posts
since Nov 2007
Nov 23rd, 2007
0

Re: Help me " Ticket Reservation System"

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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Nov 23rd, 2007
0

Re: Help me " Ticket Reservation System"

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mastro is offline Offline
9 posts
since Nov 2007
Nov 24th, 2007
0

Re: Help me " Ticket Reservation System"

Click to Expand / Collapse  Quote originally posted by mastro ...
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:

Click to Expand / Collapse  Quote originally posted by Salem ...
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.
Moderator
Reputation Points: 3278
Solved Threads: 894
Posting Sage
WaltP is offline Offline
7,747 posts
since May 2006
Nov 24th, 2007
0

Re: Help me " Ticket Reservation System"

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mastro is offline Offline
9 posts
since Nov 2007
Nov 24th, 2007
0

Re: Help me " Ticket Reservation System"

This is a VB project assignment or VC++ ?
If you want to get some homework help , first show some effort yourself.
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Nov 24th, 2007
0

Re: Help me " Ticket Reservation System"

> 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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Nov 25th, 2007
0

Re: Help me " Ticket Reservation System"

man

plezz any help



what do Mrs ::: Salem :::
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mastro is offline Offline
9 posts
since Nov 2007
Nov 25th, 2007
0

Re: Help me " Ticket Reservation System"

I guess we need to know your native language. You obviously don't read English well enough to understand our posts.
Moderator
Reputation Points: 3278
Solved Threads: 894
Posting Sage
WaltP is offline Offline
7,747 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Someone Plz Help!!
Next Thread in C++ Forum Timeline: converting an ASCII file to a txt(csv) file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC