Flashcards - FSE Week 8 Computer Sciences Study Set

1
Q

What is the primary focus of the testing process in software engineering?

A

Finding defects within a piece of software.

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

What are the two aspects of software testing?

A

Planning the activity and carrying the activity out.

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

What does testing primarily show in a software application?

A

The presence of errors, not their absence.

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

What is the goal of program testing?

A

To demonstrate that the software meets its requirements.

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

What is validation testing concerned with?

A

Demonstrating that the software meets its requirements.

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

What is defect testing aimed at discovering?

A

Faults or defects in the software.

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

What are the three stages where testing must be carried out during software development?

A

Development testing, release testing, and user testing.

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

What is unit testing?

A

Testing program components such as methods or object classes.

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

What should automated unit testing include?

A

A setup part, a call part, and an assertion part.

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

What kind of testing is Test-Driven Development (TDD) closely associated with?

A

Agile methods such as Extreme Programming.

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

In TDD, when should tests be written?

A

Before the actual code is written.

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

What is the benefit of TDD regarding code coverage?

A

Every code segment has at least one associated test.

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

What does regression testing check for?

A

That changes have not introduced new bugs into a system.

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

What is validation in software engineering?

A

Ensuring that the product meets customer expectations.

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

What is verification in software engineering?

A

Checking that the software meets its stated requirements.

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

What are software inspections primarily used for?

A

To discover anomalies and defects in the source code.

17
Q

What does component testing focus on?

A

Testing component interfaces of multiple units.

18
Q

What is the purpose of equivalence partitioning in testing?

A

To choose test cases from different classes where the program behaves equivalently.

19
Q

What should unit test cases include according to the lecture?

A

Normal operation and testing experience of common problems.

20
Q

What is guideline-based testing?

A

Using testing guidelines to choose test cases based on previous experiences.

21
Q

What is a critical aspect of automated unit testing?

A

Tests must be run without manual intervention.

22
Q

What should a successful test in defect testing do?

A

Expose a defect in the system by causing it to perform incorrectly.

23
Q

How should the success of a test be defined in TDD?

A

The test passes when the code developed meets the expectations set.

24
Q

What is one disadvantage of manual regression testing?

A

It is expensive compared to automated testing.

25
Q

What kind of attributes does program testing evaluate?

A

Non-functional attributes during test runs.