0% found this document useful (0 votes)
79 views9 pages

4 PBL Programming

The document outlines user stories and acceptance criteria for a Train Ticket Booking System, detailing features such as user registration, profile management, train management by admins, train search, ticket booking, and cancellation. It specifies the necessary attributes for classes like 'Customer', 'Train', and 'Booking', along with requirements for user interactions and system responses. The document emphasizes the importance of unique emails, password security, and acknowledgment messages for successful actions.

Uploaded by

Lovekush Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views9 pages

4 PBL Programming

The document outlines user stories and acceptance criteria for a Train Ticket Booking System, detailing features such as user registration, profile management, train management by admins, train search, ticket booking, and cancellation. It specifies the necessary attributes for classes like 'Customer', 'Train', and 'Booking', along with requirements for user interactions and system responses. The document emphasizes the importance of unique emails, password security, and acknowledgment messages for successful actions.

Uploaded by

Lovekush Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Story

SlNo Feature Description (Card)


number

User Registration As a user, I want to


1 US001
– Programming create an account

User Profile As a registered user, I

2 Management – US002 want to manage my

Programming profile information.


Admin Train As an Admin, I want

3 Management – US003 the ability to manage

Programming trains in the system.

Train Search and As registered user, I

4 View – US004 want to search for

Programming available trains.


Ticket Booking – As a registered user, I
5 US005
Programming want to book tickets.

Ticket As a registered user, I

6 Cancellation – US006 want the ability to

Programming cancel a booked ticket.


Acceptance Criteria (Confirmation)

* As a user, I want to create an account on the Train Ticket Booking System to access personalized

features and manage my bookings.

- You need to create a class "Customer" with following attributes.

User Name: A string field for User name(Maximum 50 characters)

Email: A string field to capture the Email. (Email Id will be unique for all different users)

Password: A string field for Password(Minimum 6 and Maximum 12 characters)

Address: A string field to capture street, city details(Maximum 100 characters)

Contact Number: A String. It will be of exact 10 characters.

User ID: System generated random 5 digit number for User ID

* Acceptance Criteria:

- Users can register with valid email and password along with the user's mendatory details.

- Password should meet the security requirements.

- Email must be unique.

- Upon successful registration, users receive the acknowldgement on the console.


* As a registered user, I want to manage my profile information, including editing details.

* Acceptance Criteria:

- Users can edit their profile information.

- Password changes require current password verification.

- An acknowledgment message need to be displayed on the console as "Your Details updated

successfully".
* As an Admin, I want the ability to manage trains in the system, adding new ones and updating

existing information.

Requirements:

You need to create a class "Train" with following attributes:

- Train Number

- Train Name

- Origin Station

- Destination Station

- Departure Time

- Arrival Time

- Number of Seats

Acceptance Criteria:

- Admins can add new trains to the system.


* As registered user, I want to search for available trains based on my travel details and view relevant

information to make an informed decision.

* Acceptance Criteria:

- Users can search for trains based on origin and destination.

- Results display relevant train information (e.g.: train number, train name, departure time, arrival

time)

- This result will be displayed based on a sorted train number.

- Users can view the detailed information for a selected train.


* As a registered user, I want to book tickets for a specific train and date, providing necessary

pessenger details and selecting perferred seats.

Requirements:

Create a class "Booking" with following attributes:

- Booking Id

- Customer Id

- Train Number

- Seat Number

- Booking Date

- Seat Number(s)

- Fare

- Booking Status

* Acceptance Criteria:

- Users can select a train and book tickets for a specific date.
* As a registered user, I want the ability to cancel a booked ticket if my plans change due to any

unavoidable circumstances.

* Acceptance Criteria:

- Users can cancel a booked ticket before the departure date.

- Cancellation confirmation should be acknowledged.


Initial Size
Business Sprint
Estimate
Priority Number
(SP)

You might also like