4.2 Black box test techniques Flashcards

1
Q

How does Equivalence Partitioning divide data?

A

Equivalence Partitioning divides data into partitions (equivalence partitions) where all elements are expected to be processed in the same way by the test object.

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

What does Boundary Value Analysis (BVA) test?

A

BVA tests values at the boundaries between partitions, as boundary conditions are more likely to uncover defects.

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

When is Decision Table Testing particularly effective?

A

Decision Table Testing is particularly effective when a system’s behavior depends on combinations of inputs or conditions.

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

What does State Transition Testing focus on?

A

State Transition Testing focuses on testing transitions between different states of a system triggered by events.

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

What is the definition of a valid partition in Equivalence Partitioning (EP)?

A

A valid partition in EP contains values that should be processed according to the test object’s specification or requirements.

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

How is coverage measured in Equivalence Partitioning (EP)?

A

Coverage in EP is measured as the number of equivalence partitions exercised by at least one test case, divided by the total number of identified partitions, and expressed as a percentage.

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

What does Boundary Value Analysis (BVA) focus on?

A

BVA focuses on exercising the boundaries of equivalence partitions, as errors are more likely to occur at these boundary values.

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

What is the difference between 2-value BVA and 3-value BVA?

A

In 2-value BVA, each boundary value and its closest neighbor from the adjacent partition are covered. In 3-value BVA, each boundary value and both its neighbors are covered, making it more comprehensive

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

What is the primary purpose of decision tables in software testing?

A

Decision tables are used for testing the implementation of system requirements that specify how different combinations of conditions result in different outcomes.

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

How are the rows and columns structured in a decision table?

A

Each row in a decision table represents a unique combination of conditions, and each column corresponds to a decision rule defining the conditions and associated actions.

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

What do the notations “T,” “F,” “-“, and “N/A” indicate in decision tables?

A

“T” (true) indicates a satisfied condition, “F” (false) indicates an unsatisfied condition, “-“ denotes a condition irrelevant to the action outcome, and “N/A” denotes an infeasible condition for a specific rule.

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

How is coverage quantified in decision table testing?

A

Coverage in decision table testing is measured as the percentage of exercised columns, which represent feasible combinations of conditions, out of the total number of such columns.

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

What advantage does decision table testing offer in software testing?

A

Decision table testing systematically identifies all combinations of conditions, helping to uncover overlooked scenarios and detect gaps or contradictions in requirements.

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

How does a State Transition Diagram model the behavior of a system?

A

A State Transition Diagram models the behavior of a system by depicting its possible states and valid state transitions triggered by events, which may have associated guard conditions and actions.

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

What model is equivalent to a State Transition Diagram?

A

A State Table is the equivalent model to a State Transition Diagram, where rows represent states, columns represent events (with optional guard conditions), and table entries specify transitions and resulting actions.

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

What is the typical representation of a test case derived from a State Transition Diagram or State Table?

A

A test case is usually represented as a sequence of events that trigger state transitions, potentially including actions, reflecting the expected behavior of the system under test.

17
Q

What are the three main coverage criteria for State Transition Testing covered in the syllabus?

A

The coverage criteria are:

All States Coverage
Valid Transitions Coverage (0-switch coverage)
All Transitions Coverage

18
Q

How is coverage quantified for “All States Coverage” in State Transition Testing?

A

Coverage is measured as the percentage of visited states by executed test cases, divided by the total number of states.

19
Q

Why is “Valid Transitions Coverage” considered important in State Transition Testing?

A

Valid Transitions Coverage ensures that all valid state transitions are exercised by test cases, which is crucial for testing the correctness of state changes in the system.

20
Q

What makes “All Transitions Coverage” particularly important for mission and safety-critical software?

A

Achieving “All Transitions Coverage” guarantees both “All States Coverage” and “Valid Transitions Coverage,” thereby ensuring thorough testing of all possible transitions, including attempts to execute invalid transitions to prevent fault masking.