Chapter 3 - Static Testing Flashcards

(15 cards)

1
Q

What is static testing?

A

Testing that evaluates work products without executing the software.

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

What are two types of static testing?

A

Reviews and static analysis.

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

Why is static testing important?

A

It finds defects early, saves cost, and improves quality before code is run.

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

What is a key difference between static and dynamic testing?

A

Static testing doesn’t involve executing code; dynamic testing does.

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

Give three examples of work products that can be examined in static testing.

A

Requirements, design documents, source code, test cases, models.

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

What is an informal review?

A

An unstructured, quick check for obvious issues; no formal process.

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

What is a walkthrough?

A

A review where the author leads others through the work product to gather feedback.

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

What is a technical review?

A

A structured review where technical experts evaluate the quality and correctness of the work product.

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

What is an inspection?

A

A formal, structured review with roles, checklists, and logs—used in high-assurance environments.

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

What roles are common in formal reviews?

A

Author, reviewer, moderator, scribe (and optionally, a manager).

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

What are the six stages of a formal review (e.g., inspection)?

A

Planning → Kick-off → Preparation → Review Meeting → Rework → Follow-up.

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

What is static analysis?

A

Automated analysis of code or models without executing them.

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

Name three things static analysis can detect.

A

Coding standard violations, security vulnerabilities, uninitialized variables, dead code.

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

Give two benefits of static analysis.

A

Catches defects early; enforces coding standards.

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

Give one limitation of static analysis.

A

It may produce false positives and can’t find runtime issues.

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