M-TICKET – Mobile Booking

Chapter 5: SYSTEM IMPLEMENTATION

5.1 Pseudocode for counter based ticket reservation:

Input : Movie, date of show, show, class and number of seats.

Output : On success – Reservation code

On failure – Failure message

Algorithm:

Step 1: Enter the movie, date of show, show, class and number of seats required.

Step 2: Select the screen in which the specified movie is running.

Step 3: Check for the availability of seats.

Step 4: If the required number of seats are available in the same row then go to step 6. Else go to step 5.

Step 5: If the required number of seats are not available in the same row then ask the customer if he wants to reserve the seats in different rows. If ‘yes’ then go to step 6. Else go to step 7.

Step 6: Reserve the seats. Display the reservation code, screen, seat numbers and total price. Go to step 8.

Step 7: Display Reservation failed message. Go to step 8.

Step 8: Go to step 1 to perform another reservation.

5.2 Pseudocode for counter based ticket cancellation:

Input : Reservation date, reservation number and number of seats to be

cancelled.

Output : Success message or failure message.

Algorithm:

Step 1: Enter the reservation date, reservation number and number of seats to be cancelled.

Step 2: If the entries are valid then cancel the seats else display the error message.

5.3 Pseudocode for SMS based ticket reservation:

Input : SMS of a particular form.

Output : According to the input, the resultant output SMS.

Algorithm:

Step 1: Receive the “RESV” message.

Step 2: Check whether the cell phone from which message is received is registered. If ‘yes’ go to step 3. Else go to step 10.

Step 3: Validate the message format. If the format is valid, then go to step 4.Else go to step 9.

Step 4: Fetch the fields.

Step 5: Process the fields.

Step 6: Check the availability of seats. If the required seats are available, then go to step 7. Else go to step 8.

Step 7: Reserve the seats. Send the reservation code, show time and total price to the customer. Go to step 11.

Step 8: Send the “RESV UNSUCCESSFUL” message to the customer. Go to step 11.

Step 9: Send the proper format to the user. Go to step 11.

Step 10: Send an error message informing the customer to register first. Go to step 11.

Step 11: Go to step 1 to process another message.

5.4 Pseudocode for SMS based ticket cancellation:

Input : SMS of a particular form.

Output : According to the input, the resultant output SMS.

Algorithm:

Step 1: Receive the “CANCEL” message.

Step 2: Check whether the cell phone from which message is received is registered. If ‘yes’ go to step 3. Else go to step 8.

Step 3: Check whether the reservation code is valid. If ‘yes’ go to step 4. Else go to step 9.

Step 4: Validate the message format. If the format is valid, then go to step 5. Else go to step 10.

Step 5: Fetch the fields.

Step 6: Process the fields. If the fields are valid, then go to step 7. Else go to step 9.

Step 7: Cancel the seats. Send the “SUCCESS” message to the customer. Go to step 11.

Step 8: Send an error message informing the customer to register first. Go to step 11.

Step 9: Send an error message to the customer. Go to step 11.

Step 10: Send the proper format to the user. Go to step 11.

Step 11: Go to step 1 to process another message.

5.5 Class Diagram:

class diagram

Chitra
Chitra

27 thoughts on “M-TICKET – Mobile Booking

  1. Hi Chitra,
    I like this project and I hope you don’t mind shearing.
    Please send code as an attachemt to my email.

    thanks for sharing.

  2. i very much interested to get more details about this M ticket booking .

    ourself is event marketting firm from oman. our requirement is to book tickets and purchace through mobile sms sytem and send soft copy of tickets to their moble .After this at the entrance they can show their tickets on their moble itself and can entry to the location and also they can reserve seat also .

  3. I am an M.Cs student…
    I am trying to do this project but for the local train ticket
    so can you give me the source code of the project.
    plz really it is very helpful to me…
    Thanks

  4. INTERESTING, I’VE BEEN CONTEMPLATING A PROJECT IN SAME DOMAIN AS WELL AS FOR TAXI BOOKING. IS IT POSSIBLE FOR US TO RUN A PILOT/ EVALUATION OF YOUR PROJECT IN OUR TERRITORY? I’D LOVE TO COLLABORATE, KINDLY SEND ME MORE DETAILS BY EMAIL

  5. please.can i get the code for this program? I’m doing a similar project. thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in