Introduction To UML: Software Engineering BIT-8
Introduction To UML: Software Engineering BIT-8
SOFTWARE ENGINEERING
BIT-8
APRIL, 16,2008
Agenda
Part 1:
Why modeling?
Introduction to Unified Modeling Language.
Uses of UML
Mapping Diagrams.
Part 2:
Use-Case Diagrams
Actors/Use-cases
Part 3:
Lab-Task: Case Study
Modeling
UML
SOFTWARE ENGINEERING
BIT-8
Use-Case Diagram
Definition:
The outside entity which communicates with the system:
A Person (user)
An external system
Physical Environment
Symbol:
Student
Instructor
Actor (Example/2)
Student Instructor
Submit Assignments
Mark Assignments
Upload Results
View Results
Use-case (Example/2)
ACTOR
USE-CASE
INTERACTION:
denotes set of messages exchanged among objects
NOTES/COMMENTS
Use-Case Diagram (University Management System)
SYSTEM
Submit BOUNDARY
Assignments
Mark
Student Assignments
Upload
Results
View Results
Instructor
SOFTWARE ENGINEERING
BIT-8
Lab-Exercise
(Extracting Use-cases)
1 HOUR EXERCISE
Use-Case Associations
Problem:
The functionality in the original problem statement needs to
be extended.
Solution:
An extend association from Use Case B to Use Case A indicates
that B is an extension of A.
<<extend>>
A B
Example
Example:
The use case “ReportEmergency” is complete by itself
, but can be extended by the use case “Help” for a
specific scenario in which the user requires help
Note: In an extend association, the base use case can
be executed without the use case extension
<<extend>>
ReportEmergency Help
Field Officer
Lab-Exercise