Slides 23 + 24 - Examination of NL Requirements Flashcards

1
Q

Formal vs. Natural Language

A
Formal specification language
 - Benefits:
   ● defined semantic
   ● fully verifiable
   ● can be automatically tested
 - Limitations / problems:
   ● known and used only by experts
   ● primarily for functional requirements
Natural language
 - Benefits:
  ● everyone uses this language
 - Limitations / problems:
  ● can be interpreted differently
  ● are incomplete, inconsistent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

NLP - Classes of Transformations

A

Deletion:
● We reduce to dimensions we are able to manage
and understand.

Generalization:
● We generalize statements and omit exceptions.
● Generalizations often go along with deletions.

Distortion:
● We formulate statements imprecisely and
ambiguously.

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

Requirements Examination Process

A
  1. Examine individual words of a requirement sentence!
  2. Examine each requirement sentence as a whole!
  3. Examine the integration of a requirement in
    the overall specification!
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Quality Costs

A
  1. Defect Prevention Costs
    ● Constructive quality assurance
  2. Examination and Inspection Costs
    ● Analytical quality assurance
  3. Error Costs
    ● Correction
    ● Reduced revenues
    ● Compensation costs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pressman’s Defect Amplification Model
● Assumptions
● A phase-structured development process is applied
● We cannot to detect all defects in the phase were they were made
● A defect that is passed to the next phase leads to multiple defects

A

Assumptions:
● A phase-structured development process is applied

● We cannot to detect all defects in the phase were they were made

● A defect that is passed to the next phase leads to multiple defects

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

When do we stop testing?

A

● We stop testing when the planned time is over.

● A survey among the testers revealed that they have the impression that the product could be delivered.

● Eventually stop testing, otherwise you will find still more defects.

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

Test Exit Criteria

A

Relative Defect Cost
● If the average examination costs per detected defect go beyond a threshold X, the test is finished.
● The examination costs must be known!
● The threshold needs to based on experience!

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

Problems of Defect Seeding

A

Problems
● Defect must be seeded homogeneously.
● Seeded defects must cover all defect types.
● Additional costs are to be expected.

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