0
0
Software Engineeringknowledge~10 mins

White-box testing techniques in Software Engineering - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the type of white-box testing that checks every possible path in a program.

Software Engineering
The testing technique that ensures every possible path is tested is called [1] testing.
Drag options to blanks, or click blank then click option'
ABoundary value
BBlack-box
CPath
DUsability
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing path testing with black-box testing.
Thinking boundary value testing covers all paths.
2fill in blank
medium

Complete the code to name the white-box testing technique that checks each decision point for true and false outcomes.

Software Engineering
The white-box testing technique that tests each decision for both true and false outcomes is called [1] coverage.
Drag options to blanks, or click blank then click option'
ACondition
BDecision
CFunction
DStatement
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing condition coverage with decision coverage.
Choosing statement coverage instead.
3fill in blank
hard

Fix the error in the description of a white-box testing technique that checks each executable line.

Software Engineering
The technique that tests every executable line in the code is called [1] coverage.
Drag options to blanks, or click blank then click option'
ADecision
BPath
CIntegration
DStatement
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing statement coverage with path coverage.
Choosing integration testing which is not white-box.
4fill in blank
hard

Fill both blanks to complete the description of a white-box testing technique that tests all combinations of conditions in decisions.

Software Engineering
The [1] coverage technique tests all combinations of [2] in decision statements.
Drag options to blanks, or click blank then click option'
ACondition
BStatement
CConditions
DPath
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing condition coverage with decision coverage.
Using statement coverage terms incorrectly.
5fill in blank
hard

Fill all three blanks to complete the code snippet describing a white-box testing technique that measures the percentage of code executed.

Software Engineering
Code coverage tools measure [1] coverage by checking which [2] or [3] have been executed during tests.
Drag options to blanks, or click blank then click option'
Astatement
Blines
Cbranches
Dfunctions
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing functions with branches in coverage measurement.
Using path coverage instead of statement coverage.