- 2073 Bhadra · 3+3 marks
Importance of use case diagram
Short answer
The use-case diagram captures functional requirements from user’s viewpoint, defines system boundary, and drives development and testing. For an Online Library, Member (Search, Reserve, Renew Book) includes Login; Librarian (Issue, Return Book) with extend Charge Fine.
What makes the use-case diagram as an important in UML diagrams? Illustrate your argument with a model use-case diagram for a particular scenario.
Why the use case diagram is important
A use case diagram shows the actors outside the system and the functions (use cases) the system offers them. It is important because:
- It captures functional requirements from the user's viewpoint, in a form that customers and non-technical people can understand.
- It fixes the scope and boundary of the system (what is inside, what is outside).
- It is the starting point of the whole OO process: classes, sequence diagrams, test cases and user manuals are derived from the use cases (use case driven development).
- It helps in planning and prioritising: iterations are planned by use cases.
- It serves as a contract between customer and developers and a base for acceptance testing.
- It is simple, with only few symbols (actor, use case, association, include, extend, generalization).
Model use case diagram: Online Library
+-----------------------------+
| Online Library System |
[Member] ----|-( Search Book ) |
[Member] ----|-( Reserve Book ) |
[Member] ----|-( Renew Book ) |
| |include |
| v |
| ( Login ) |
[Librarian] -|-( Issue Book ) |
[Librarian] -|-( Return Book ) |
| ^ |
| |extend |
| ( Charge Fine ) |
+-----------------------------+
Scenario: A member logs in and searches a book; if unavailable, he reserves it. The librarian issues and receives the book; if the return is late, the optional use case Charge Fine extends Return Book. Renew Book includes Login.
The diagram thus gives a single clear picture of who uses the library system and what the system provides.
Related questions
- Collaboration and use case diagram case · Object Oriented Analysis and Design, chapter 2
- Math Training Institute use case diagram · Object Oriented Analysis and Design, chapter 2
- Coffee vending machine use case diagram · Object Oriented Analysis and Design, chapter 2
- XYZ Marina class diagram · Object Oriented Analysis and Design, chapter 2
- Explain online order sequence diagram · Object Oriented Analysis and Design, chapter 2
- Buy a Product conceptual model · Object Oriented Analysis and Design, chapter 2
- Block diagram model of R-L-C-L-R circuit · Control Systems, chapter 2
- Block diagram model of R-L ladder network · Control Systems, chapter 2
- Case study: existing vs proposed system · Instrumentation II, chapter 10
- Case study: plan, feasibility and ROI · Instrumentation II, chapter 10
All Object Oriented Analysis and Design chapter 2 questions →