Beruflich Dokumente
Kultur Dokumente
MUHAMMAD MUNEEB
17-ARID-1655
BSIT 5A
SOFTWARE ENGINEERING II
Case Studies (Use case Diagrams, Use case Description & Typical Course of Events):
Case Study : 1
Our auditorium is used for different types of events. Some of the events are one-time events, such as
basketball games. Other events consist of a number of shows , such as plays or concerts. The event planner
can change the floor plan for each event. Some events use the floor for seating( like concerts ) and others
do not (like basketball games). All the show seating charts for the same event should be based on same
floor plan. The event planner schedules events and shows. Once an event is negotiated, the event planner
decides on the floor plan and schedules the individual shows for the event. Once the shows are scheduled
the event planner prices the shows. Pricing is done using a pricing plan. A pricing plan consists of a set of
price tiers. Each price tier contains prices for one or more prices: adult, senior, student, and child. The
event planner assigns each price tier to a group of seats in a show, one tier per seat. The event planner
may also add one or more discounts to the show to improve sales. Customers can purchase seats online.
Once they provide us with their mailing address they can look up the shows and select the seats they want
to reserve. Customers may pay only by credit card payments. If they want refunds, we will credit the card
used to purchase the ticket.
Identify Actors:
Customers
Event planner
Use Cases:
Schedule Events
Change Floor Plan
Event Pricing
Assigns Seats
Purchase Seats
Provide Mailing Address
Look Up Shows
Reserve Seats
Payment
Use Case Diagram:
<<include>> <<include>>
SCHEDULE EVENTS
<<extend>>
EVENT PRICING
<<extend>>
EVENT PLANNER
PURCHASE SEATS
PROVIDE MAILING
ADDRESS
LOOK UP SHOWS
CUSTOMER
<<include>>
PAYMENT
Use Case Description:
Schedule Events
Event Pricing
Assign Seats
Look Up Shows
Reserve Seats
Payment
Event Pricing
Assign Seats
Customer SYSTEM
1. Customers can purchase seats online. 2. The system can book the seats for the
customer.
Customer SYSTEM
1. Once the customers provide their mailing 2. The system take the input and store it.
address.
3. Customers can easily interact with the 4. The system verifies the mailing
system. This mailing address acts like a address to enter the customer in to the
login system. system.
Look Up Shows
Customer SYSTEM
1. After providing the mailing address 2. The system provides a display of
the customer can easily looks up the shows to the customer.
shows.
Reserve Seats
Customer SYSTEM
1. Customer can select the seats they want 2. The system book the seats that the
to reserve. customer wants.
Payment
Customer SYSTEM
1. This use case begins when the 2. The system verifies the credit card.
customer inputs the credit card in the a : If the card is being verified then the
system. payment is deducted.
b : Else the card is being ejected from the
system. And system wants the correct input.
3. If the customer wants refund. 4. The system credit the card used to
purchase the ticket.
5. The customer take the ticket.
Case Study : 2
Creating a Dictionary system:
The use case diagram for the dictionary system is created. It provides an external view of a dictionary
system. In this system, the user first login to the system with user name and password. user name of every
user is unique. The user enters the word to the system for finding meaning of the word. The system
searches the meaning for the given word. If the word is available on the database then the system retrieve
and display the meaning for the word otherwise it show the message box that contains please enter
correct word.
Identify Actor:
1. User
2. Database.
Use cases:
1. Login
2. Enter the word
3. Search
4. Retrieve
LOGIN
ENTER WORD
RETRIEVE
USE CASE DESCRIPTION
LOGIN:
ENTER WORD:
SEARCH:
RETRIEVE:
USER SYSTEM
3. This use case begins when the user 4. The system verifies the user.
enters his/her name and password. a: If the user is verified the user
can do anything.
b: Else user is not allowed to do
anything.
ENTER WORD
USER SYSTEM
1. This use case begins when the user 2. The system check for the given word
enters the word to find its meaning. in database system to find its meaning.
SEARCH
USER SYSTEM
2. The user see the meaning on the 1. The system check in database system
system or the instruction to enter to find the meaning:
correct word. a: If the word is found then
meaning is displayed on the system.
b: Else a message is displayed that
the please enter correct word.
RETRIEVE
USER SYSTEM
2. The user see the meaning on the 1. The system found the meaning of
system. given word in database system.