Lecture_06 Flashcards

Writing Requirements

1
Q

What is the difference between a user and a stakeholder?

A

A user directly interacts with the system, while a stakeholder has an interest in the system’s success but may not use it directly.

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

What distinguishes a requirement from a design specification?

A

A requirement describes what the system must do, while a design specification details how it will be implemented.

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

What are functional and non-functional requirements?

A

Functional requirements define system behavior, while non-functional requirements (quality attributes) describe system performance, security, etc.

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

What is the typical format of a user story?

A

“As a [role], I want [feature] so that [benefit].”

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

Give an example of a user story.

A

“As a person who provides recipes, I want to see reviews of my recipes so I can improve them.”

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

What is an SRS document?

A

A formal document containing system requirements, often structured according to IEEE standards.

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

Why are SRS documents less common in Agile development?

A

Agile prefers backlogs of user stories over rigid, lengthy requirement documents.

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

What are the main sections of an SRS document?

A

Introduction, overall description, specific requirements, appendices, and index.

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

What do IEEE standards refer to in requirements engineering?

A

IEEE standards, such as IEEE 29148, provide guidelines for writing clear, structured, and verifiable software requirements to ensure consistency and quality in requirement specifications.

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

When writing requirements, what word should be used for mandatory provisions?

A

Shall

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

What are some words to avoid in requirements?

A

“Best”
“most”
“user-friendly”
“as appropriate”

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

What are the recommended types of requirements statements in IEEE guidelines?

A

Mandatory statements using “shall”
preference or goals statements using “should”
and Suggestions or allowances using “may”

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

What are the characteristics of a well-written requirement?

A

Necessary, Implementation Free, Unambiguous, Consistent, Complete, Singular, Feasible, Traceable, and Verifiable.

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

What does it mean for a requirement to be “traceable”?

A

It should be possible to track its origin and purpose throughout the project lifecycle.

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

Why is feasibility important in requirements?

A

If a requirement cannot be implemented due to technical, financial, or time constraints, it is not useful.

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

What does SMART stand for in requirements writing?

A

Specific, Measurable, Achievable, Relevant, Testable.

17
Q

Why should requirements be testable?

A

So developers can verify if the requirement has been successfully met.

18
Q

Give an example of a non-SMART requirement and how to improve it.

A

“The system should load quickly.” → “The system shall load within 2 seconds under normal network conditions.”

19
Q

Give an example of a well-written SRS requirement.

A

“The system shall allow users to return a rented bike to any available slot in any bike rack.”

20
Q

Why should a requirement avoid design details?

A

To give developers flexibility in implementation.

21
Q

What is an example of a poorly written requirement?

A

“The system should be fast.” (It lacks specificity and testability.)

22
Q

What is the difference between requirements quality and quality requirements?

A

Requirements quality assesses how well requirements are written.
While quality requirements define the system’s performance and characteristics.

23
Q

Give an example of a quality requirement.

A

“The system shall process user requests within 0.5 seconds.”

24
Q

What are common issues that make requirements weak?

A

Ambiguity, inconsistency, unverifiability, unnecessary constraints, missing details.

25
How can ambiguity be reduced in requirements?
Avoid vague words, and ensure each requirement has only one interpretation.
26
Why should requirements avoid negative statements?
Negative statements can create confusion; instead, specify the expected behavior clearly.
27
What are the Characteristics of Good Requirements For a Requirement?
1. Necessary 2. Implementation Free 3. Unambiguous 4. Consistent 5. Complete 6. Singular 7. Feasible 8. Traceable 9. Verifiable
28
What are the Characteristics of Good Requirements For a set of requirements?
1. Complete 2. Consistent 3. Affordable 4. Bounded
29
Describe User Story Quality.
- Independent – Negotiable – Valuable – Estimatable – Small – Testable
30
Describe SRS Requirements Quality.
- Necessary – Implementation Free – Unambiguous – Consistent – Complete – Singular – Feasible – Traceable – Verifiable – Affordable – Bounded