"Software Engineering" Assignment 4 "Use Case Descriptions and Diagram"
"Software Engineering" Assignment 4 "Use Case Descriptions and Diagram"
"Software Engineering" Assignment 4 "Use Case Descriptions and Diagram"
Assignment 4
“Use Case Descriptions and Diagram”
Submitted By
Zain Ul Abiddin 21-BSCS-15
Mueed Sajjad 69-BSCS-15
Submitted To:
Dr. Adnan Khalid
➢ Use case: Sign In
Primary Actor: App user
Goal in context: To gain access to the application.
Precondition: The user must have an account to log in to.
Scenario:
• The app user opens the app.
• The app user enters his email or username.
• The app user enters his password.
• The app user presses the sign in button.
Exceptions:
• The user does not have an account to login to.
• Wrong email or password entered.
• The user does not have an active internet connection.
Priority: Essential
When available: First increment
Frequency of use: Just once for logging in. This function won’t be required
until the user has signed out from the app.
Open issues:
Can a user access the application without having an account?
Scenario:
• It takes in the email or username and matches with the already stored
username.
• It takes in the password and matches with the already stored user
password.
Exceptions:
• Misspelled username or password.
Priority: Essential
When available: First increment
Frequency of use: When sign in use case is executed then this use case is
always executed.
Exceptions:
Misspelled names of ingredients.
Priority: Essential
Frequency of use: Every time base case is executed then this use case is
also executed.
Scenario:
• The user puts some ingredients of his choice.
• The app generates a recipe out of them.
• The user tries it.
• The user shares it.
Exceptions:
• No recipe generated by the user himself.
• Recipe generated. Tried but not upto the standard, so the user avoids
sharing it.
Priority: Not compulsory
When available: Can be made available in later increments of the app.
Frequency of use: As desired by the user.
Secondary Actors: Recipe store
Scenario:
• The user goes into the settings section.
• Changes the theme or sets up his profile.
Exceptions: None.
Priority: Essential
When available: First increment
Frequency of use: As desired by the user.
Secondary Actor: User profile
Use Case Diagram