SlideShare a Scribd company logo
Use Case Modeling
MD. SHAFIUZZAMAN
What is an use case?
description of how a user will use the planned system to accomplish business goals
represents a dialog between the user and the system with the aim of helping the user achieve a
business goal
in each dialog, the user initiates actions and the system responds with reactions
specifies what information must pass the boundary (without considering what happens inside
the system)
Naming Convention
use cases represent recipes for user achieving goals, each use-case name must include a verb
capturing the goal achievement, for example, Withdraw cash
Actors and Their Goals
Actor: any entity (human, physical object, or another system) external to the system-to-be that
interacts with the system-to-be
Actors have their responsibilities and seek the system’s assistance in managing those
responsibilities
To carry out its responsibilities, an actor sets goals, which are time and context-dependent
For example, a resident leaving the apartment for work has a goal of locking the door; when
coming back, the resident’s goal is to open the door and enter the apartment
Actions
To achieve its goals, an actor performs some actions
An action is the triggering of an interaction with the system-to-be
Case Study
FROM HOME ACCESS CONTROL TO ADAPTIVE HOMES
The Customer’s Statement
The system offers house access control.
The system could be required to authenticate (“Are you who you claim to be?”) and validate
(“Are you supposed to be entering this building?”) people attempting to enter a building
Along with controlling the locks, the system may also control other household devices, such as
the lighting, air conditioning, heating, alarms, etc.
Actors
Tenant is the home occupant
Landlord is the property owner or manager
Device is a physical device to be controlled by the system-to-be, such as lock-mechanism and
light-switch
Other potential actors: Maintenance, Police, etc.
How to decide an actor?
Does the system provide different service(s) to the new actor?
an actor is associated with a role rather than with a person
Classification of actors
Initiating actor (also called primary actor or simply user)
Participating actor (also called secondary actor)
◦ Supporting actor
◦ Offstage actor
Actor generalization
REQ7
Types of Requirements
 Functionality
 functional requirements
 security: data integrity and authorized access to information
 Usability: ease of use, esthetics, consistency, and documentation
 Reliability: expected frequency of system failure under certain operating conditions,
recoverability, predictability, accuracy, and mean time to failure
 Performance: computing speed, efficiency, resource consumption, throughput, and
response time
 Supportability: testability, adaptability, maintainability, compatibility, configurability,
installability, scalability, and localizability
More on Requirements
All requirements must be written so that they are testable
o Bad Example: system should be “easy to use”
 Prioritizing requirements: cost-value approach
1. Essential: have to be realized to make the system acceptable to the customer.
2. Desirable: highly desirable, but not mandatory requirements
3. Optional: might be realized if time and resources permit
4. Future: will not be realized in the current version of the system-to-be, but should be
recorded for consideration in future versions
Assignment
Consider the following nonfunctional requirements and determine which of them can be verified
and which cannot. Write acceptance tests for each requirement or explain why it is not testable.
(a) “The user interface must be user-friendly and easy to use.”
(b) “The number of mouse clicks the user needs to perform when navigating to any window
of the system’s user interface must be less than 10.”
(c) “The user interface of the new system must be simple enough so that any user can use it
with a minimum training.”
(d) “The maximum latency from the moment the user clicks a hyperlink in a web page until
the rendering of the new web page starts is 1 second over a broadband connection.”
(e) “In case of failure, the system must be easy to recover and must suffer minimum loss of
important data.”
«extend» – optional extensions of the main case
«include» – required subtasks of the main case
«include» – required subtasks of the main case
Is Login a Use Case?
System Boundary and Subsystems
Use Case Specification
REPRESENTS A USE CASE OF THE SYSTEM AS A SEQUENCE OF
INTERACTIONS BETWEEN EXTERNAL ENTITIES (ACTORS) AND THE
SYSTEM-TO-BE
Traceability Matrix
Priority weight (PW)
Use cases specify what information must pass the boundary of a system when a user or another system
interacts with it
User acceptance test case
Lab Assignment
Consider an online auction site, such as eBay.com, with selling, bidding, and buying services.
Assume that you are a buyer, you have placed a bid for an item, and you just received a
notification that the bidding process is closed and you won it. Write a single use case that
represents the subsequent process of purchasing the item with a credit card. Assume the
business model where the funds are immediately transferred to the seller’s account, without
waiting for the buyer to confirm the receipt of the goods. Also, only the seller is charged selling
fees. Start from the point where you are already logged in the system and consider only what
happens during a single sitting at the computer terminal. (Unless otherwise specified, use cases
are normally considered only for the activities that span a single sitting.) List also some
alternate scenarios.
Lab Assignment
Suppose that by observation you determine that the generic Buyer
and Seller roles can be further differentiated into more specialized
roles:
Occasional Buyer, Frequent Buyer, and Collector
 Small Seller, Frequent Seller, and Corporate Seller
Identify the use cases for both situations: generic Buyers and
Sellers vs. differentiated Buyers and Sellers. Discuss the similarities
and differences. Draw the use case diagrams for both situations.
Sequence Diagrams
 visual form of a usage scenario that an actor experiences while trying to obtain
a service from the system
 summarize textual description of the use case scenarios
 a use case may have different scenarios, the main success scenario and the
alternate ones. A sequence diagram may represent one of those scenarios in
entirety, or a subpart of a scenario.
Sequence Diagrams
 key purpose of sequence diagrams is to represent what information must pass
the system boundary and in what sequence
 a system sequence diagram can contain only a single box, named System
 all other entities must be actors
 at this stage of the development cycle, the system is still considered atomic
and must not be decomposed into its constituent parts.
Unlock use case: main success
scenario
Unlock use case: burglary attempt
scenario

More Related Content

What's hot

Architectural Design & Patterns
Architectural Design&PatternsArchitectural Design&Patterns
Architectural Design & Patterns
Inocentshuja Ahmad
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
user support system in HCI
user support system in HCIuser support system in HCI
user support system in HCI
Usman Mukhtar
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classesgopal10scs185
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
Software process
Software processSoftware process
Software process
Dr. Loganathan R
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
City University
 
HCI 3e - Ch 11: User support
HCI 3e - Ch 11:  User supportHCI 3e - Ch 11:  User support
HCI 3e - Ch 11: User support
Alan Dix
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisMahesh Bhalerao
 
Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notesSudarshan Dhondaley
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9Ian Sommerville
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERING
Saqib Raza
 
Class based modeling
Class based modelingClass based modeling
Class based modeling
Md. Shafiuzzaman Hira
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
barney92
 
Context model
Context modelContext model
Context model
Ubaid423
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Kumar
 
Software Engineering (Requirements Engineering & Software Maintenance)
Software Engineering (Requirements Engineering  & Software Maintenance)Software Engineering (Requirements Engineering  & Software Maintenance)
Software Engineering (Requirements Engineering & Software Maintenance)
ShudipPal
 
Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Sudarshan Dhondaley
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
Raval Chirag
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
mohamed khalaf alla mohamedain
 

What's hot (20)

Architectural Design & Patterns
Architectural Design&PatternsArchitectural Design&Patterns
Architectural Design & Patterns
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
user support system in HCI
user support system in HCIuser support system in HCI
user support system in HCI
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Software process
Software processSoftware process
Software process
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
HCI 3e - Ch 11: User support
HCI 3e - Ch 11:  User supportHCI 3e - Ch 11:  User support
HCI 3e - Ch 11: User support
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Software architecture Unit 1 notes
Software architecture Unit 1 notesSoftware architecture Unit 1 notes
Software architecture Unit 1 notes
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERING
 
Class based modeling
Class based modelingClass based modeling
Class based modeling
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Context model
Context modelContext model
Context model
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Software Engineering (Requirements Engineering & Software Maintenance)
Software Engineering (Requirements Engineering  & Software Maintenance)Software Engineering (Requirements Engineering  & Software Maintenance)
Software Engineering (Requirements Engineering & Software Maintenance)
 
Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5Designing and documenting software architecture unit 5
Designing and documenting software architecture unit 5
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
 

Similar to Use case Modeling

SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use Cases
Amr E. Mohamed
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
Amr E. Mohamed
 
Day01 01 software requirement concepts
Day01 01 software requirement conceptsDay01 01 software requirement concepts
Day01 01 software requirement concepts
Namtướcbóngđêm Virut
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
Wajahat Hasnain
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
Shahid Riaz
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptx
Nadir438180
 
Use Case Diagrams part4
Use Case Diagrams part4Use Case Diagrams part4
Use Case Diagrams part4
DrMohammed Qassim
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
Jo Balucanag - Bitonio
 
Lecture#04, use case diagram
Lecture#04, use case diagramLecture#04, use case diagram
Lecture#04, use case diagrambabak danyal
 
Use-Case-Diagram.ppt
Use-Case-Diagram.pptUse-Case-Diagram.ppt
Use-Case-Diagram.ppt
FarHana74914
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System DefinitionSandeep Ganji
 
Object oriented analysis &design - requirement analysis
Object oriented analysis &design - requirement analysisObject oriented analysis &design - requirement analysis
Object oriented analysis &design - requirement analysis
Abhilasha Lahigude
 
6. ch 5-understanding requirements
6. ch 5-understanding requirements6. ch 5-understanding requirements
6. ch 5-understanding requirements
Delowar hossain
 
System Modelling.ppt
System Modelling.pptSystem Modelling.ppt
System Modelling.ppt
AnishNarayan4
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagramsjsm1979
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
Muhammad Imran
 
Lecture 11 understanding requirements (3)
Lecture 11   understanding requirements (3)Lecture 11   understanding requirements (3)
Lecture 11 understanding requirements (3)
IIUI
 

Similar to Use case Modeling (20)

SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use Cases
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
Day01 01 software requirement concepts
Day01 01 software requirement conceptsDay01 01 software requirement concepts
Day01 01 software requirement concepts
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
 
Jar chapter 3
Jar chapter 3Jar chapter 3
Jar chapter 3
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptx
 
Use Case Diagrams part4
Use Case Diagrams part4Use Case Diagrams part4
Use Case Diagrams part4
 
chapter_5_5.ppt
chapter_5_5.pptchapter_5_5.ppt
chapter_5_5.ppt
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
 
Lecture#04, use case diagram
Lecture#04, use case diagramLecture#04, use case diagram
Lecture#04, use case diagram
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Use-Case-Diagram.ppt
Use-Case-Diagram.pptUse-Case-Diagram.ppt
Use-Case-Diagram.ppt
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System Definition
 
Object oriented analysis &design - requirement analysis
Object oriented analysis &design - requirement analysisObject oriented analysis &design - requirement analysis
Object oriented analysis &design - requirement analysis
 
6. ch 5-understanding requirements
6. ch 5-understanding requirements6. ch 5-understanding requirements
6. ch 5-understanding requirements
 
System Modelling.ppt
System Modelling.pptSystem Modelling.ppt
System Modelling.ppt
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagrams
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
 
Lecture 11 understanding requirements (3)
Lecture 11   understanding requirements (3)Lecture 11   understanding requirements (3)
Lecture 11 understanding requirements (3)
 

More from Md. Shafiuzzaman Hira

Introduction to Web development
Introduction to Web developmentIntroduction to Web development
Introduction to Web development
Md. Shafiuzzaman Hira
 
Software measurement and estimation
Software measurement and estimationSoftware measurement and estimation
Software measurement and estimation
Md. Shafiuzzaman Hira
 
Why do we test software?
Why do we test software?Why do we test software?
Why do we test software?
Md. Shafiuzzaman Hira
 
Software Requirements engineering
Software Requirements engineeringSoftware Requirements engineering
Software Requirements engineering
Md. Shafiuzzaman Hira
 
Software architectural patterns
Software architectural patternsSoftware architectural patterns
Software architectural patterns
Md. Shafiuzzaman Hira
 
Class diagram
Class diagramClass diagram
Class diagram
Md. Shafiuzzaman Hira
 
State diagram
State diagramState diagram
State diagram
Md. Shafiuzzaman Hira
 
User stories
User storiesUser stories
User stories
Md. Shafiuzzaman Hira
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
Md. Shafiuzzaman Hira
 
Software Process Model
Software Process ModelSoftware Process Model
Software Process Model
Md. Shafiuzzaman Hira
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering Course
Md. Shafiuzzaman Hira
 
C files
C filesC files
C pointers
C pointersC pointers
C structures
C structuresC structures
C structures
Md. Shafiuzzaman Hira
 
How to Create Python scripts
How to Create Python scriptsHow to Create Python scripts
How to Create Python scripts
Md. Shafiuzzaman Hira
 
Regular expressions using Python
Regular expressions using PythonRegular expressions using Python
Regular expressions using Python
Md. Shafiuzzaman Hira
 
Password locker project
Password locker project Password locker project
Password locker project
Md. Shafiuzzaman Hira
 
Dictionaries in Python
Dictionaries in PythonDictionaries in Python
Dictionaries in Python
Md. Shafiuzzaman Hira
 
Lists in Python
Lists in PythonLists in Python
Lists in Python
Md. Shafiuzzaman Hira
 

More from Md. Shafiuzzaman Hira (20)

Introduction to Web development
Introduction to Web developmentIntroduction to Web development
Introduction to Web development
 
Software measurement and estimation
Software measurement and estimationSoftware measurement and estimation
Software measurement and estimation
 
Why do we test software?
Why do we test software?Why do we test software?
Why do we test software?
 
Software Requirements engineering
Software Requirements engineeringSoftware Requirements engineering
Software Requirements engineering
 
Software architectural patterns
Software architectural patternsSoftware architectural patterns
Software architectural patterns
 
Class diagram
Class diagramClass diagram
Class diagram
 
State diagram
State diagramState diagram
State diagram
 
User stories
User storiesUser stories
User stories
 
Dev ops
Dev opsDev ops
Dev ops
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
 
Software Process Model
Software Process ModelSoftware Process Model
Software Process Model
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering Course
 
C files
C filesC files
C files
 
C pointers
C pointersC pointers
C pointers
 
C structures
C structuresC structures
C structures
 
How to Create Python scripts
How to Create Python scriptsHow to Create Python scripts
How to Create Python scripts
 
Regular expressions using Python
Regular expressions using PythonRegular expressions using Python
Regular expressions using Python
 
Password locker project
Password locker project Password locker project
Password locker project
 
Dictionaries in Python
Dictionaries in PythonDictionaries in Python
Dictionaries in Python
 
Lists in Python
Lists in PythonLists in Python
Lists in Python
 

Recently uploaded

Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 

Recently uploaded (20)

Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 

Use case Modeling

  • 1. Use Case Modeling MD. SHAFIUZZAMAN
  • 2. What is an use case? description of how a user will use the planned system to accomplish business goals represents a dialog between the user and the system with the aim of helping the user achieve a business goal in each dialog, the user initiates actions and the system responds with reactions specifies what information must pass the boundary (without considering what happens inside the system)
  • 3. Naming Convention use cases represent recipes for user achieving goals, each use-case name must include a verb capturing the goal achievement, for example, Withdraw cash
  • 4. Actors and Their Goals Actor: any entity (human, physical object, or another system) external to the system-to-be that interacts with the system-to-be Actors have their responsibilities and seek the system’s assistance in managing those responsibilities To carry out its responsibilities, an actor sets goals, which are time and context-dependent For example, a resident leaving the apartment for work has a goal of locking the door; when coming back, the resident’s goal is to open the door and enter the apartment
  • 5. Actions To achieve its goals, an actor performs some actions An action is the triggering of an interaction with the system-to-be
  • 6.
  • 7. Case Study FROM HOME ACCESS CONTROL TO ADAPTIVE HOMES
  • 8. The Customer’s Statement The system offers house access control. The system could be required to authenticate (“Are you who you claim to be?”) and validate (“Are you supposed to be entering this building?”) people attempting to enter a building Along with controlling the locks, the system may also control other household devices, such as the lighting, air conditioning, heating, alarms, etc.
  • 9.
  • 10. Actors Tenant is the home occupant Landlord is the property owner or manager Device is a physical device to be controlled by the system-to-be, such as lock-mechanism and light-switch Other potential actors: Maintenance, Police, etc.
  • 11. How to decide an actor? Does the system provide different service(s) to the new actor? an actor is associated with a role rather than with a person
  • 12. Classification of actors Initiating actor (also called primary actor or simply user) Participating actor (also called secondary actor) ◦ Supporting actor ◦ Offstage actor
  • 14.
  • 15. REQ7
  • 16. Types of Requirements  Functionality  functional requirements  security: data integrity and authorized access to information  Usability: ease of use, esthetics, consistency, and documentation  Reliability: expected frequency of system failure under certain operating conditions, recoverability, predictability, accuracy, and mean time to failure  Performance: computing speed, efficiency, resource consumption, throughput, and response time  Supportability: testability, adaptability, maintainability, compatibility, configurability, installability, scalability, and localizability
  • 17. More on Requirements All requirements must be written so that they are testable o Bad Example: system should be “easy to use”  Prioritizing requirements: cost-value approach 1. Essential: have to be realized to make the system acceptable to the customer. 2. Desirable: highly desirable, but not mandatory requirements 3. Optional: might be realized if time and resources permit 4. Future: will not be realized in the current version of the system-to-be, but should be recorded for consideration in future versions
  • 18. Assignment Consider the following nonfunctional requirements and determine which of them can be verified and which cannot. Write acceptance tests for each requirement or explain why it is not testable. (a) “The user interface must be user-friendly and easy to use.” (b) “The number of mouse clicks the user needs to perform when navigating to any window of the system’s user interface must be less than 10.” (c) “The user interface of the new system must be simple enough so that any user can use it with a minimum training.” (d) “The maximum latency from the moment the user clicks a hyperlink in a web page until the rendering of the new web page starts is 1 second over a broadband connection.” (e) “In case of failure, the system must be easy to recover and must suffer minimum loss of important data.”
  • 19.
  • 20. «extend» – optional extensions of the main case «include» – required subtasks of the main case «include» – required subtasks of the main case
  • 21.
  • 22. Is Login a Use Case?
  • 23. System Boundary and Subsystems
  • 24. Use Case Specification REPRESENTS A USE CASE OF THE SYSTEM AS A SEQUENCE OF INTERACTIONS BETWEEN EXTERNAL ENTITIES (ACTORS) AND THE SYSTEM-TO-BE
  • 25. Traceability Matrix Priority weight (PW) Use cases specify what information must pass the boundary of a system when a user or another system interacts with it
  • 26.
  • 27.
  • 28.
  • 30.
  • 31.
  • 32.
  • 33. Lab Assignment Consider an online auction site, such as eBay.com, with selling, bidding, and buying services. Assume that you are a buyer, you have placed a bid for an item, and you just received a notification that the bidding process is closed and you won it. Write a single use case that represents the subsequent process of purchasing the item with a credit card. Assume the business model where the funds are immediately transferred to the seller’s account, without waiting for the buyer to confirm the receipt of the goods. Also, only the seller is charged selling fees. Start from the point where you are already logged in the system and consider only what happens during a single sitting at the computer terminal. (Unless otherwise specified, use cases are normally considered only for the activities that span a single sitting.) List also some alternate scenarios.
  • 34. Lab Assignment Suppose that by observation you determine that the generic Buyer and Seller roles can be further differentiated into more specialized roles: Occasional Buyer, Frequent Buyer, and Collector  Small Seller, Frequent Seller, and Corporate Seller Identify the use cases for both situations: generic Buyers and Sellers vs. differentiated Buyers and Sellers. Discuss the similarities and differences. Draw the use case diagrams for both situations.
  • 35. Sequence Diagrams  visual form of a usage scenario that an actor experiences while trying to obtain a service from the system  summarize textual description of the use case scenarios  a use case may have different scenarios, the main success scenario and the alternate ones. A sequence diagram may represent one of those scenarios in entirety, or a subpart of a scenario.
  • 36. Sequence Diagrams  key purpose of sequence diagrams is to represent what information must pass the system boundary and in what sequence  a system sequence diagram can contain only a single box, named System  all other entities must be actors  at this stage of the development cycle, the system is still considered atomic and must not be decomposed into its constituent parts.
  • 37. Unlock use case: main success scenario
  • 38. Unlock use case: burglary attempt scenario