Chapter 2 Flashcards

1
Q

What is the purpose of static testing?

A

To find defects in software work products early in the software process.

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

What are the two main categories of static testing techniques?

A

Static verification and static analysis.

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

True or False: Static testing can be done without executing the code.

A

True.

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

What is the main focus of static analysis?

A

To find issues in the software work products by analyzing the code or documentation.

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

What are the benefits of static testing?

A

Early defect detection, cost-effectiveness, and improved software quality.

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

What is the purpose of dynamic testing?

A

To find defects in the software by executing the code.

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

What are the two main categories of dynamic testing?

A

Functional testing and structural testing.

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

True or False: Dynamic testing requires executing the code.

A

True.

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

What is the main focus of functional testing?

A

To verify that the software functions according to the specified requirements.

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

What is the main focus of structural testing?

A

To verify the internal structure or design of the software.

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

What is the purpose of test design techniques?

A

To identify test conditions and design test cases.

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

What are the two main categories of test design techniques?

A

Black-box testing and white-box testing.

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

True or False: Test design techniques help in selecting test cases that have a high probability of finding defects.

A

True.

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

What is the main focus of black-box testing?

A

To test the functionality of the software without knowing its internal code structure.

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

What is the main focus of white-box testing?

A

To test the internal code structure, paths, and conditions of the software.

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

What is the purpose of experience-based testing?

A

To use the knowledge and experience of the testers to design and execute tests.

17
Q

What are the two main categories of experience-based testing?

A

Error guessing and exploratory testing.

18
Q

True or False: Experience-based testing relies solely on documented test cases.

A

False.

19
Q

What is the main focus of error guessing?

A

To identify defects based on the tester’s intuition and experience.

20
Q

What is the main focus of exploratory testing?

A

To explore the software and design test cases simultaneously.

21
Q

What is the purpose of choosing a test design technique?

A

To help in selecting the appropriate test cases for testing.

22
Q

True or False: Test design techniques are only used in the testing phase of the software development lifecycle.

A

False.

23
Q

What is the main focus of selecting a test design technique?

A

To ensure that the most effective test cases are chosen for testing.

24
Q

What are the key considerations when selecting a test design technique?

A

Risk, project constraints, and the software under test.