Lecture_03 Flashcards

Specification Context Use Case Modeling

1
Q

What are the two key domains in RE?

A

Application Domain (real-world problems, users, organizations).
Machine Domain (software and hardware solving the problem).

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

What is the difference between a requirement and a specification?

A

A requirement is something the system must achieve in the real world.
A specification defines how the system behaves to meet the requirements.

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

What does the formula S, D ⊨ R mean in RE?

A

The specification (S) and domain properties (D) must satisfy the requirements (R).

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

What are domain properties in RE?

A

Facts about the application domain that are true regardless of whether the system exists.

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

What is the key difference between requirements and design?

A

Requirements describe what the system must do.
Design describes how the system achieves it.

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

Why should requirements be technically neutral?

A

To avoid unnecessary constraints on developers and allow flexibility in design.

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

What is the purpose of requirements modeling?

A

Summarize requirements visually.
Help define system scope and interactions.
Identify missing requirements.

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

What are some common requirements modeling techniques?

A

Context diagrams.
Use case diagrams.
Goal models (iStar, GRL, KAOS).
Customer journey maps.

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

What is a context diagram?

A

A visual model that shows a system’s external actors and the flow of data between them.

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

What are the key components of a context diagram?

A

System actor (in the center).
External actors (interacting entities).
Inputs and outputs (data exchanges).

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

Why are context diagrams helpful for scoping?

A

They clarify system boundaries and external dependencies.

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

What should NOT be included in a context diagram?

A

Actions or workflows (only data flow should be shown).

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

What is a use case diagram?

A

A UML model that represents actors interacting with system functions (use cases).

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

What are the key elements in a use case diagram?

A

Actors (users or systems interacting with the system).
Use cases (functions the system provides).
Associations (relationships between actors and use cases).
System boundary (defines the scope).

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

What is the difference between a use case and a scenario?

A

A use case describes a general system function.
A scenario is a specific sequence of actions for a use case.

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

What is the purpose of use case diagrams?

A

Capture system functionality.
Show how users interact with the system.
Identify key features and missing use cases.

17
Q

What does “extends” mean in a use case diagram?

A

A use case extends another if it provides an optional additional behavior.

18
Q

What does “includes” mean in a use case diagram?

A

A use case includes another if it always calls that use case as part of its execution.

19
Q

Give an example of an “extends” relationship in a bike rental system.

A

Base use case: “Rent Bike”.
Extending use case: “Apply Discount” (only applies if the user has a discount code).

20
Q

Give an example of an “includes” relationship in a bike rental system.

A

Base use case: “Pay for Bike Rental”.
Included use case: “Process Payment” (always executed).

21
Q

What are some common tools for creating context and use case diagrams?

A

Miro
Draw.io
Lucidchart
Microsoft Visio