Assignment No.
1
cs504
Bc200204506
Question # 1:
(10 Marks)
In a use case diagram, two types of relationships can exist between use cases:
1. Extend relationship between two use cases
2. Include (uses) relationship between two use cases
Identify and label the relationships as either "extend" or "include" for the connections numbered
1 to 5 in the figure below:
Answer:
1. Include
2. Include
3. Extend
4. Include
5. Include
Question2
The state transition diagram for a movie inventory system, which outlines how the states of a
movie change based on its availability, reservations, and loans, is provided below. Alongside this
diagram, you will find a state transition table that includes the current state of the system and the
corresponding events. Your task is to fill in the last column of the table with the appropriate next
states.
Current State Event Next State
Available Rent movie On loan
Reserved Rent movie On loan
On Loan Return movie Available
Reserved Cancel reservation Available
Available Reserve movie On reserve