Bus ticket booking system
(Phases of Project)
1 – using variables:
I tried to write a program for bus ticket booking system using variables only but it can only work
instantaneously all info is lost just after submitting and printing the ticket. Only one person can use this
program. Operator is needed for this.
I want to make is reliable in such a way that many persons can book tickets and sign-in and sign-up using
their accounts. Admin must add the bus info and customer must utilize it.
2 – Decision Making:
I wrote program in which many persons can book tickets and sign-in and sign-up using their accounts.
Admin must add the bus info and customer must utilize it. By using decision-making and loops.
But problem is it cannot hold much data and can’t utilize it at will. Only 3 users can use it for now with
current knowledge I can’t extend it but in future it’ll be useful if I can store more users.
3 – Using Lists:
I wrote program in which many persons can book tickets and sign-in and sign-up using their accounts.
Admin must add the bus info and customer must utilize it. By using decision-making and loops and using
lists.
Now it can hold bigger data but problem is my program is complex (highly coupled). I can’t track any error
and in future it can’t be utilized again for upgrades with current format. If any error rise we have to search
the whole code.
4 – Using functions:
I wrote program in which many persons can book tickets and sign-in and sign-up using their accounts.
Admin must add the bus info and customer must utilize it. By using decision-making and loops and using
lists and functions. Now program is readable and very less complex also errors are identified within impulse.
But data is lost when we are not using it in this way we can’t keep track of users accounts and information.
5 – File handling:
I wrote program in which many persons can book tickets and sign-in and sign-up using their accounts.
Admin must add the bus info and customer must utilize it. By using decision-making and loops and using
lists and functions and using file handling this time. Now program is readable and very less complex, also
errors are identified within impulse and data is stored on files so we can use it latter.
But it can’t check whether data entered is correct or not. We can’t check if user or Admin enters wrong
command.
6 – validations:
I wrote program in which many persons can book tickets and sign-in and sign-up using their accounts.
Admin must add the bus info and customer must utilize it. By using decision-making and loops and using
lists and functions, file handling and using validations this time. Now program is readable and very less
complex, also errors are identified within impulse and data is stored on files so we can use it latter and we
can ask user to input correct command if he/she entered something wrong.