Requirement use cases Flashcards

1
Q

Use case modeling

A

Each use case represents a discrete task that involves external interaction with a system.

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

What is a use case diagram

A

Provide a graphical description of interactions between users and systems.

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

What are the components of the use case diagrams

A

Actors, use cases, connections, descriptions, preconditions, triggers

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

What are actors in use case diagrams?

A

The different roles that are related to the system

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

What are the two types of actors?

A

Primary actor - someone or something outside the system and is performing an action on the system.

Secondary actor - is acted on by the system.

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

What is description in the use case section?

A

Provides the overview

A description is just a few sentences or a paragraph in length and includes the goal and primary actor

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

What is a precondiction in use cases?

A

Defines all the conditions that must be true (state of system) for the trigger to cause the initiation of the use case.

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

What is stimulus (triggers)

A

Describes the event that causes the use case to be initiated

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

How to handle when trigger happens but the precondition is not met?

A

1) handle the error within use case (as an exception)
2) put all the preconditions in the trigger

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

What is the basic flow of events:

A

Each use case should convey a primary scenario, or typical course of events, also “happy path”
Conveyed as a course of events in numbered steps.

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

What is an alternative path?

A

step or a sequence following different steps compared to happy path, but the goal IS reached.
Example “The system recognizes the user’s cookies”

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

What are post-conditions

A

Post conditions describes the state when the use cases completes - changes in the state of the system.
Basically, what happens when condition is met

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

What are extensions

A

Used to make optional interactions explicit or to handle exceptional cases

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

What are inclusions?

A

When you want to include another use case without writing it all over again. such as a “validate balance”

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

What is a Use case

A

A use case is a technique for documenting the potential requirements of a new system or software change.

Each use case provides one or more scenarios on how the system should interact with the end user or another system to achieve a specific business goal.

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

What the limitations of use cases

A

Use-cases are much less valuable in projects where deep complexity does not lie in user interactions, such as: batch processing, data warehousing, or systems with complex computations or detailed calculations

17
Q

Use Case vs User story

A

Use cases are about the behavior you’ll build into the software to meet those needs.
User stories are about needs.