Lab5 ---- --- ---- --- PDF

Title Lab5 ---- --- ---- ---
Author maira afzaal
Course Understanding Cyberspace
Institution York University
Pages 11
File Size 393.9 KB
File Type PDF
Total Downloads 108
Total Views 153

Summary

---- ---- ---- ---- ---- ---- --- -----...


Description

EECS 3311 SOFTWARE DESIGN LAB 5

INSTRUCTOR: Maleknaz Nayebi RELEASE DATE: Feb 13, 2021

By: Maira Afzaal

1.

1

2. UML Activity Diagram

2

3. UML Sequence Diagram

3

4

4. UML Class Diagram

5

5. Use Case Name

Location Locator

Level

Brief

Primary Actor

Canadian Resident

Other Actors

SUD, System, Grocery Store

Main Success Scenario

Canadian residents ask SUD to show the total capacity in the local grocery store. The SUD asks to use the location of the user. Then the user will enter their postal code and the SUD will find the nearby grocery store. The SUD will request the grocery store for the number of customers inside. The SUD will retrieve the number of customers allowed at the nearby grocery store and total capacity of people allowed at a time.

Use Case Name

Location Locator

Level

Casual

Primary Actor

User

Other Actors

SUD, System, Grocery Store

Main Success Scenario

Before going to the grocery store, the system will ask the user for their location. The user will then allow location sharing on the SUD. The operating system on the phone activates location access. The system uses the location to retrieve local grocery stores. The user then selects the desired grocery store. The system requests the selected grocery store for the updated number of people inside. The system retrieves the number of people currently present inside the grocery store and the total capacity of people allowed. Users will receive the information and the system will ask the user if they want to enter any other location.

6

If the user does not approve the location, then the system will ask the user to enter a postal code. Then system verifies if the location matches the postal code. If the location matches the system will proceed. Extensions

If the location does not match, then the system will not be able to find a grocery store and retrieve information. If the grocery store has reached the total capacity of customers allowed inside the store the system will give a message to the user saying, “Fully Occupied, please try again later”.

Use Case Name

Area Locator

Level

Brief

Primary Actor

User

Other Actors

Health Canada, SUD, System

Main Success Scenario

Canadian residents can request SUD to show the risk in their area. The app will ask the location of the user. Then the user will enter their postal code and the app will request Health Canada for the updated number of Covid-19 cases. The app will retrieve the updated number of covid-19 cases and the total population in the area. Users will obtain the information from the app and will be given the option to enter any other location’s postal code.

Use Case Name

Area Locator

Level

Casual

Primary Actor

User

Other Actors

Health Canada, SUD, System

7

Main Success Scenario The system will show Canadian residents the risk in their area. The system will ask the user for permission to access their location from the phone operating system. The SUD shows the name of the area to the user for approval. The user approves the area and SUD requests Canada Health for the number of Covid-19 cases. The system retrieves the updated number of cases and the population of people in the given area. The system is then able to calculate and show the risk of the user in that area. The user receives the information on covid-19 risk and is asked to enter more locations.

Extensions

If the user does not permit to access the location, then the user has the option to enter the postal code. The system compares the postal code and the user’s location. If postal code and location match the system proceeds. If the location does not match the system, it will ask to re-enter the postal code.

Use Case Name

Gym Locator

Level

Brief

Primary Actor

User

Other Actors

Gym Risk Calculator, SUD, System

8

Main Success Scenario

A Canadian resident asks SUD to show the number of people affected at their desired Gym. The system asks the user to allow location access. The user enters the postal code and SUD requests the local gym for the updated number of cases. The system retrieves the number of updated cases and the total number of people that workout at that Gym. The system calculates and shows the risk to the user. The user receives the information, and the system asks if they want to enter more locations.

Use Case Section

Comment

Use Case Name

Location Locator

Scope

Store Capacity Calculator Application

Level

Fully Dressed

Primary Actor

Canadian Resident

Stakeholder and Interests The Resident wants to take all precautions and avoid standing in line during this pandemic. They want to receive the updated number of customers at their desired grocery store. Grocery Store wants to keep people updated on the number of people in the store at the moment so they can reduce the exposure of covid. They want customers to feel safe and save time. Preconditions

There has to be a user and then a valid postal code to continue finding a grocery store in that area. Access to location or postal code is necessary in order to continue with using the app.

9

Success Guarantee

The resident will be able to find out the updated number of people at the grocery store by sitting at home. The resident will not have to stand in big lines and can avoid exposure to Covid-19. They can visit grocery stores during their convenient time by limiting the risk of covid and staying safe by taking precautions.

Main Success Scenario

Before going to the grocery store, the system will ask the user for their location. The user will then allow location sharing on the SUD. The operating system on the phone activates location access. The system uses the location to retrieve local grocery stores. The user then selects the desired grocery store. The system requests the selected grocery store for the updated number of people inside. The system retrieves the number of people currently present inside the grocery store and the total capacity of people allowed. Users will receive the information and the system will ask the user if they want to enter any other location.

Extensions

If the user does not approve the location, then the system will ask the user to enter a postal code. Then system verifies if the location matches the postal code. If the location matches the system will proceed. If the location does not match, then the system will not be able to find a grocery store and retrieve information. If the grocery store has reached the total capacity of customers allowed inside the store the system will give a message to the user saying, “Fully Occupied, and an estimated time”.

Special Requirements

-

Technology Variation

and

Data

-

The system responds within 30 seconds 85% of the time. The language of the system can be changed to either French or English. Different postal codes can be added to see grocery stores. 10

Frequency of Occurrence

-

Open Issues

-

Customers go to the Grocery store often, usually at least once a week. The system is used during grocery store hours, otherwise, the system is offline. During the pandemic the system is used very often. What will happen if there is a glitch in the program? Explore ways for remote recovery issue?

11...


Similar Free PDFs