You are on page 1of 1

Software Development Technologies

Fall-2018
Take Home Exam

Pakistan Super League (PSL) is a T-20 cricket league founded in Lahore during 2015 with five
teams and now compromises of six teams. The fourth season of the league is scheduled to be played
in February 2019. To keep the league fans more interested, organizers are planning to introduce a
portal where a fan can predict the line-ups of a match.
Your services are required to develop the application.
There will be two types of user roles in the system:
1-Admin
2-Public User

The flow of the system will be as:

For Public user:


• A new user have to register himself.
• After registration a confirmation email with random password will be send to the
email address provided by the user.
• User will be forced to change the password on his first login.
• User can predict the line-up of the teams
• While predicting the line-up, following conditions have to be ensured:
Maximum foreign player : 4
Minimum Emerging player: 1
Wicketkeeper: 1
▪ User can edit the predicted line-ups before the announcement of playing eleven.
▪ User can view the result of his prediction after the announcement of line-up.
▪ User can manage his profile

For Admin:
• Admin can create accounts
• Admin can create squad of teams. Following conditions should be meet while
defining the squad:

Category Players Allowed


Platinum 3
Diamond 3
Gold 3
Silver 5
Emerging 2

▪ Admin can update the line-up of team on match day


▪ Admin can view the list of users that predicted the line-up correctly.
▪ Admin can send email to the lucky winners.

You might also like