A use case diagram is a simple visual tool that shows how users (actors) interact with a system to achieve goals (use cases). It helps understand system functions from the user's perspective.
Click to reveal answer
beginner
Who are actors in a use case diagram?
Actors represent users or other systems that interact with the system. They can be people, external systems, or devices that perform actions with the system.
Click to reveal answer
beginner
What is the purpose of use cases in a use case diagram?
Use cases describe specific actions or services the system provides to actors. They represent goals or tasks that actors want to accomplish using the system.
Click to reveal answer
beginner
What does an association line represent in a use case diagram?
An association line connects an actor to a use case, showing that the actor participates in or initiates that use case.
Click to reveal answer
intermediate
How do use case diagrams help in system design?
They help clarify system requirements by showing who uses the system and what they want to do. This makes it easier to plan features and communicate with stakeholders.
Click to reveal answer
What does an actor represent in a use case diagram?
AA database inside the system
BA user or external system interacting with the system
CA programming function
DA hardware component
✗ Incorrect
Actors are users or external systems that interact with the system.
What is the main purpose of a use case in a use case diagram?
ATo show the system's internal code structure
BTo list all system errors
CTo represent the physical hardware
DTo describe a goal or task an actor wants to achieve
✗ Incorrect
Use cases describe goals or tasks actors want to accomplish using the system.
Which symbol typically represents an actor in a use case diagram?
AA stick figure
BA rectangle
CA circle
DA diamond
✗ Incorrect
Actors are usually shown as stick figures to represent users or external entities.
What does a line connecting an actor to a use case indicate?
AThe use case is a subtask of the actor
BThe actor owns the use case
CThe actor interacts with the use case
DThe actor is a system component
✗ Incorrect
The line shows the actor participates in or initiates the use case.
Why are use case diagrams useful in early system design?
AThey help understand user needs and system functions
BThey replace all other diagrams
CThey show detailed code logic
DThey show database schemas
✗ Incorrect
Use case diagrams help clarify user needs and system functions early on.
Explain what a use case diagram is and describe its main components.
Think about who uses the system and what they want to do.
You got /4 concepts.
Describe how use case diagrams help in understanding system requirements.
Consider how diagrams help talk with users and developers.
You got /4 concepts.
Practice
(1/5)
1. What is the primary purpose of a use case diagram in system design?
easy
A. To show user roles and their interactions with the system
B. To display database table relationships
C. To illustrate the internal code structure
D. To list all system hardware components
Solution
Step 1: Understand the role of use case diagrams
Use case diagrams focus on users (actors) and what they do with the system (use cases).
Step 2: Compare with other diagram types
Database diagrams show tables, code diagrams show code structure, hardware diagrams show physical parts, none are use case diagrams.
Final Answer:
To show user roles and their interactions with the system -> Option A
Quick Check:
Use case diagram = user roles + actions [OK]
Hint: Use case = users + actions, not code or hardware [OK]
Common Mistakes:
Confusing use case diagrams with class or sequence diagrams
Thinking use case diagrams show database details
Assuming use case diagrams show internal code logic
2. Which of the following is the correct symbol for an actor in a use case diagram?
easy
A. A rectangle with the actor's name inside
B. An oval shape showing a system function
C. A stick figure representing a user
D. A diamond shape indicating a decision
Solution
Step 1: Identify actor symbol in use case diagrams
Actors are shown as stick figures to represent users or external systems.
Step 2: Differentiate other symbols
Ovals represent use cases (functions), rectangles can be system boundaries, diamonds are for decisions in flowcharts, not use case diagrams.
Final Answer:
A stick figure representing a user -> Option C
Quick Check:
Actor symbol = stick figure [OK]
Hint: Actors are stick figures, use cases are ovals [OK]
Common Mistakes:
Using rectangles for actors instead of stick figures
Confusing use case ovals with actor symbols
Mixing flowchart symbols with use case diagram symbols
3. Consider a use case diagram with actors Customer and Admin, and use cases Place Order, Cancel Order, and Update Inventory. Which use case should only be connected to the Admin actor?
medium
A. Place Order
B. Cancel Order
C. Place Order and Cancel Order
D. Update Inventory
Solution
Step 1: Analyze actor responsibilities
Customers place and cancel orders; Admin manages inventory updates.
Step 2: Match use cases to actors
Only Admin should connect to Update Inventory as it is a system management task.
Final Answer:
Update Inventory -> Option D
Quick Check:
Admin-only use case = Update Inventory [OK]
Hint: Admin manages system tasks, customers do orders [OK]
Common Mistakes:
Connecting customers to inventory updates
Assuming customers can update system data
Linking all use cases to all actors
4. A use case diagram shows an actor connected to a use case with a dashed arrow labeled <<extend>>. What does this indicate?
medium
A. The extended use case adds optional behavior to the base use case
B. The actor is not allowed to perform the extended use case
C. The actor must always perform the extended use case
D. The use case is a system boundary
Solution
Step 1: Understand <<extend>> relationship
The <<extend>> arrow shows optional or conditional behavior added to a base use case.
Step 2: Interpret actor connection meaning
The actor can perform the base use case; the extended use case happens only sometimes.
Final Answer:
The extended use case adds optional behavior to the base use case -> Option A
Quick Check:
<<extend>> = optional behavior [OK]
Hint: <<extend>> means optional addition, not mandatory [OK]
Common Mistakes:
Thinking <<extend>> means mandatory action
Confusing <<extend>> with <<include>>
Assuming <<extend>> defines system boundaries
5. You are designing a use case diagram for an online library system. Which of the following best represents a correct use case for the Member actor that includes an Admin actor managing the system?
hard
A. Member: Add Book, Remove Book; Admin: Borrow Book, Return Book
B. Member: Borrow Book, Return Book; Admin: Add Book, Remove Book
C. Member: Borrow Book, Add Book; Admin: Remove Book, Return Book
D. Member: Remove Book, Return Book; Admin: Borrow Book, Add Book
Solution
Step 1: Identify typical member actions
Members usually borrow and return books, not manage inventory.
Step 2: Identify admin responsibilities
Admins add or remove books to keep the library updated.
Step 3: Match actions to actors correctly
Member: Borrow Book, Return Book; Admin: Add Book, Remove Book correctly assigns borrowing and returning to Member, and adding/removing to Admin.
Final Answer:
Member: Borrow Book, Return Book; Admin: Add Book, Remove Book -> Option B
Quick Check:
Member = borrow/return, Admin = add/remove [OK]
Hint: Members use books; Admins manage books [OK]
Common Mistakes:
Swapping member and admin roles
Assigning management tasks to members
Mixing use cases between actors
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.