Use Case Diagram Flashcards

(19 cards)

1
Q

What is a use case diagram?

A

A picture that shows what a system does and who uses it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What 3 things do use case diagrams show?

A
  1. The system. 2. The users (actors). 3. What the users can do (use cases).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a use case?

A

A task the system can do (e.g., ‘Login’ or ‘Print Report’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an actor?

A

A person or thing that uses the system (e.g., ‘Student’ or ‘Printer’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the difference between a primary and secondary actor?

A

Primary: Benefits from the system. Secondary: Helps the system (e.g., a backup server).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s an active actor?

A

A user who starts a task (e.g., a student clicking ‘Submit Homework’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are actors and use cases connected?

A

With a solid line (like a friendship link).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does ‘include’ mean in use cases?

A

One use case MUST use another (e.g., ‘Pay Online’ MUST include ‘Login’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does ‘extend’ mean in use cases?

A

One use case can OPTIONALLY add to another (e.g., ‘Add Discount’ extends ‘Checkout’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is generalization in use cases?

A

A parent-child relationship (e.g., ‘Print Report’ is a child of ‘Generate Document’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s in a use case description?

A

Name, steps, what happens before/after, errors, and who’s involved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are system boundaries?

A

A box around the system to show what’s inside vs. outside.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you draw a use case?

A

As an oval (e.g., ‘Buy Product’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you draw an actor?

A

As a stick figure (e.g., ‘Customer’).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What’s a common mistake in use case diagrams?

A

Putting actors inside the system box (they must stay outside!).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What’s a precondition?

A

What must be true before a use case runs (e.g., ‘User must be logged in’).

17
Q

What’s a postcondition?

A

What happens after a use case finishes (e.g., ‘Order is confirmed’).

18
Q

What’s an extension point?

A

A spot where an optional use case can add steps (e.g., ‘Apply Coupon’ during checkout).

19
Q

What’s an abstract use case?

A

A template use case—it can’t run alone, only its children can (e.g., ‘Generate File’ is abstract; ‘Generate PDF’ is real).