
White Box Testing
Authored by Sivasankar C
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary goal of white-box testing?
To test system performance under load
To verify internal logic and code paths
To validate user requirements
To check UI responsiveness
To perform usability testing
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a test adequacy criterion focused on statements in the code?
Path Coverage
Branch Coverage
Statement Coverage
Condition Coverage
Mutation Coverage
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a control flow graph (CFG), what do nodes typically represent?
Test cases
Program variables
Basic blocks or statements
System requirements
External modules
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which metric requires that every possible branch (true/false) of each decision is executed at least once?
Statement Coverage
Branch Coverage
Path Coverage
Loop Coverage
Data Flow Coverage
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Path coverage is often infeasible because:
Programs have too few branches
The number of paths can be exponential or infinite
Paths are irrelevant to correctness
It is the same as statement coverage
It ignores loops
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which white-box technique focuses on how data values are defined and where they are used?
Control Flow Testing
Data Flow Testing
Mutation Testing
Boundary Value Analysis
Random Testing
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does cyclomatic complexity measure?
Number of variables
Number of inputs
Number of line comments
Number of independent paths through the program
Memory usage
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?