0% found this document useful (0 votes)
69 views8 pages

Use Case

The document describes the use case diagram and use cases for a security system for a bank. It includes 9 use cases (UC-01 to UC-09) that describe how the security system and its sensors would work to detect dangers, allow authorized access, and be managed. The use cases cover how the security system activates alarms in response to sensors detecting windows/doors opening, steps, heat, smoke, etc. It also includes a use case for bank employee authentication and one for a system admin to manage settings. The document also lists 10 non-functional requirements covering reliability, security, stability, integrity and availability for the security system.

Uploaded by

jawad mughal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views8 pages

Use Case

The document describes the use case diagram and use cases for a security system for a bank. It includes 9 use cases (UC-01 to UC-09) that describe how the security system and its sensors would work to detect dangers, allow authorized access, and be managed. The use cases cover how the security system activates alarms in response to sensors detecting windows/doors opening, steps, heat, smoke, etc. It also includes a use case for bank employee authentication and one for a system admin to manage settings. The document also lists 10 non-functional requirements covering reliability, security, stability, integrity and availability for the security system.

Uploaded by

jawad mughal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Task 01

Use case diagram:


Use case Description:
ID UC-01
Actors Valid card holder, person, unauthorized person
Names Burglar alarm system
Description Burglar alarm system will activate when fire alarm is activated,
and any of sensors detect danger.
Pre-condition Sensors, fire system and burglar alarm system configured
successfully.
Event flow 1.burglar alarm system configured successfully.
2.sensor or fire system detect danger.
3.fire system will turn on flash lights.
4.sensors will activate the system.
5.system activation and flash lights will activate the burglar
alarm system.

Post-condition 1.Burglar alarm speaker will turn on.


Includes Activate alarm, fire alarm system, system activate
Extensions None
triggers The configuration of security system in Bank.
ID UC-02
Actors Valid card holder, person, unauthorized person
Names Deactivate Burglar alarm
Description Burglar alarm system will deactivate once danger solved and
sensor start working normally again.
Pre-condition Burglar alarm should be activated.
Event flow 1.burglar alarm system configured successfully.
2.sensors will activate the system.
3.system activation and flash lights will activate the burglar
alarm system.
4.Danger solved and sensor working start normally again.
5.burgalr alarm system will be deactivated.

Post-condition 1.Burglar alarm system deactivated.


Includes Activate alarm, fire alarm system, system activate
Extensions None
triggers The configuration of security system in Bank.
ID UC-03
Actors Window sensor
Names Detect window open
Description Window sensor will detect the open window.
Pre-condition Sensor configured accurately.
Event flow 1.Sensor activated successfully.
2.sensor detect window opening.
3.sensor activate the alarm.
Post-condition 1.Warning alarm will turn on.
Includes Activate alarm
Extensions None
triggers The configuration of security system in Bank.

ID UC-04
Actors Door sensor
Names Detect door opening
Description Door sensor will detect the door opening.
Pre-condition Sensor configured accurately.
Event flow 1.Sensor activated successfully.
2.sensor detect door opening.
3.sensor activate the alarm.
Post-condition 1.Warning alarm will turn on.
Includes Activate alarm
Extensions Bank Employee
triggers The configuration of security system in Bank.
ID UC-05
Actors Floor sensor
Names Detect steps on floor area.
Description Floor sensor will detect the steps on floor.
Pre-condition Sensor configured accurately.
Event flow 1.Sensor activated successfully.
2.sensor detect steps.
3.sensor activate the alarm.
Post-condition 1.Warning alarm will turn on.
Includes Activate alarm
Extensions None
triggers The configuration of security system in Bank.

ID UC-06
Actors Heat sensor
Names Detect heat through temperature.
Description Heat sensor will detect heat through temperature.
Pre-condition Sensor configured accurately.
Event flow 1.Sensor activated successfully.
2.sensor detect heat.
3.sensor activate the alarm.
Post-condition 1.Warning alarm will turn on.
Includes Activate alarm
Extensions None
triggers The configuration of security system in Bank.
ID UC-07
Actors Smoke sensor
Names detect smoke.
Description Soke sensor will detect smoke and start alarm.
Pre-condition Sensor configured accurately.
Event flow 1.Sensor activated successfully.
2.sensor detect smoke.
3.sensor activate the alarm.
Post-condition 1.Warning alarm will turn on.
Includes Activate alarm
Extensions None
triggers The configuration of security system in Bank.

ID UC-08
Actors Bank employee
Names Bank employee authentication
Description Bank employee will enter in bank after successful
authentication.
Pre-condition Sensor configured accurately.
Event flow 1.user will enter code or scan card.
2.Authentication is successful
3.Door will be open for user.
Post-condition 1.User enters in Bank successfully.
Includes Activate alarm
Extensions none
triggers If authentication is unsuccessful alarm will be activated.
ID UC-09
Actors System Admin
Names System setting
Description System admin can reset alarm and configure setting.
Pre-condition System is activated.
Event flow 1.user will enter login info.
2.Authentication is successful
3.user can update the settings.
Post-condition 1.User updated the settings successfully.
Includes Activate alarm
Extensions Deactivate alarm
triggers The maintenance of security system in Bank.
Task 02:
Non-Functional Requirements:
1. System should be reactivated after deactivation of alarm. (System
Reliability criteria)
2. Window should be closed once alarm turn off. (System security criteria)
3. Door should be closed once alarm turn off. (System security criteria)
4. System should give warning to users on more than two wrong attempts.
(System security criteria)
5. Building door should be closed immediately once user enter after
successful authentication. (System security criteria)
6. System should give warning and turn on alarm if any sensor is damaged.
(System stability and security criteria)
7. System should turn on alarm if any sensor is deactivated. (System Security
criteria)
8. System should turn on alarm on three wrongs authentication consecutively.
(System Security criteria)
9. System should deactivate the user card after three warnings. (System
integrity criteria)
10.System should be able to add updates about sensors. (System availability
criteria)

You might also like