Testing Flashcards

1
Q

What is Software Testing?

A

The process of exercising a program with the specific intent of finding errors prior to delivery to the end user.

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

What does testing show?

A

Errors, requirements conformance, performance, and an indication of quality.

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

What are the limitations of testing?

A

Testing alone cannot ensure quality; it can only provide a certain level of assurance under specific controlled conditions.

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

Who is responsible for unit/component testing?

A

Developers.

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

What is the role of the Independent Test Group (ITG)?

A

Removes conflict of interest; attempts to break the system and is driven by quality concerns.

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

What is the general approach to testing?

A

Testing progresses from ‘testing-in-the-small’ to ‘testing-in-the-large’.

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

What are the four steps of the Conventional Testing Strategy?

A
  • Unit Testing
  • Integration Testing
  • Validation Testing
  • System Testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are common stopping factors for testing?

A
  • Deadlines
  • Test cases completed with certain percentage passed
  • Test budget depleted
  • Coverage reaches specified point
  • Bug rate falls below certain level
  • Alpha/beta testing period ends
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the mathematical model f(t) = (1/p) ln [l0 pt + 1] help determine?

A

Expected failures.

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

What is Unit Testing?

A

Testing individual modules or components in isolation.

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

What is Component Testing also known as?

A

Module or Program Testing.

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

What is a Driver in testing?

A

A ‘main program’ that accepts test case data, passes it to the component, and prints results.

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

What is a Stub in testing?

A

A ‘dummy subprogram’ that replaces modules subordinate to the one being tested.

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

What is the Big Bang Approach in Integration Testing?

A

Integrating all components at once.

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

What is Incremental Construction in Integration Testing?

A

Gradually integrating components.

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

What does Top-Down Integration involve?

A

Main control module used as test driver with stubs for subordinate components.

17
Q

What is Bottom-Up Integration?

A

Low-level components combined into clusters that perform specific functions.

18
Q

What is Regression Testing?

A

Re-executing previously conducted tests to ensure changes haven’t introduced side effects.

19
Q

What is Smoke Testing?

A

Daily testing to uncover ‘show-stopper’ errors early.

20
Q

What does White Box Testing examine?

A

Internal program structure and logic.
Has access to source code and internal workings

Includes: Basis Path Testing
Condition Testing
Loop Testing

21
Q

What is Black Box Testing focused on?

A

Functional requirements without knowledge of internal code.

Includes: Equivalence Partitioning
Boundary Value Analysis

22
Q

What is Equivalence Partitioning?

A

Divides input domain into classes where test cases in the same class are expected to be treated similarly.

23
Q

What does Boundary Value Analysis test?

A

Values at the extreme ends of input domains where errors are more likely.

24
Q

What are the characteristics of Testable Software?

A
  • Operability
  • Observability
  • Controllability
  • Decomposability
  • Simplicity
  • Stability
  • Understandability
25
What is a characteristic of good tests?
High probability of finding errors.
26
According to software testing principles, what should all tests be traceable to?
Customer requirements.
27
What does the Pareto principle state in testing?
80% of errors found in 20% of components.
28
Is exhaustive testing possible?
No, exhaustive testing is impossible.
29
What is the most effective type of testing?
Independent testing.
30
Give three ways of calculating cyclomatic complexity
V(G) = Number of regions V(G) = (Edges - Nodes) + 2 V(G) = Predicate nodes + 1