
White-Box Testing Quiz
Authored by drkiruthika drkruthika
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary goal of white-box testing?
To test the functionality of the software without knowledge of its internal structure
To test the internal logic and structure of the software
To verify that the software meets the user requirements
To evaluate the performance of the software
Answer explanation
To test the internal logic and structure of the software
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does cyclomatic complexity measure?
The number of lines of code in a program
The number of distinct paths through the program's control flow graph
The complexity of the software's user interface
The number of variables used in the program
Answer explanation
Cyclomatic complexity measures the number of distinct paths through the program's control flow graph, not the number of lines of code, variables, or the software's user interface.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a form of logic coverage in white-box testing?
Statement Coverage
Branch Coverage
Condition Coverage
User Acceptance Testing
Answer explanation
User Acceptance Testing is NOT a form of logic coverage in white-box testing, as it is a form of black-box testing where end-users validate the system's functionality against their requirements.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a reason why white-box testing is necessary?
It is less expensive than black-box testing.
It provides complete test coverage by ensuring that all code paths are executed.
It is used only after black-box testing is completed.
It is suitable for testing the software's usability.
Answer explanation
White-box testing is necessary because it provides complete test coverage by ensuring that all code paths are executed.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "decision/condition coverage" criterion ensure?
Each condition in a decision is evaluated to both true and false.
Each decision is evaluated to both true and false, and each condition within decisions is also evaluated.
Each statement in the code is executed.
All paths through the program are tested.
Answer explanation
The 'decision/condition coverage' criterion ensures that each decision is evaluated to both true and false, and each condition within decisions is also evaluated.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does statement coverage aim to achieve?
Ensure that all branches in the control flow graph are tested.
Ensure that every line of code is executed at least once.
Ensure that all possible conditions are tested.
Ensure that all functional requirements are met.
Answer explanation
Ensure that every line of code is executed at least once.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which testing technique ensures that every edge in the control flow graph is traversed at least once?
Statement Coverage
Branch Coverage
Path Coverage
Condition Coverage
Answer explanation
Path Coverage ensures that every edge in the control flow graph is traversed at least once.
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?
Similar Resources on Wayground
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
CIW
Quiz
•
9th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Aspek Legal TIK
Quiz
•
12th Grade
14 questions
TRENDS IN ICT
Quiz
•
12th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
10 questions
Working around Adobe Photoshop
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade