
Software Testing Quiz
Authored by grace levina
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
If you are testing a module of code, how do you determine the level of decision coverage you have achieved?
By taking the number of decision outcomes you have tested and dividing that by the total number of decision outcomes in the module
By taking the number of decisions you have tested and dividing that by the total lines of code in the module
By taking the number of decisions you have tested and dividing that by the total number of decisions in the module
By taking the number of decisions you have tested and dividing that by the total number of executable statements in the module
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is an extension of equivalence partitioning?
State Transition Testing
Decision Testing
Decisions Table
Boundary Value Analysis
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which is not true-The black box tester?
should be able to understand a functional specificationor requirements document
is creative to find the system's weaknesses
is highly motivated to find faults
should be able to understand the source code.
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
If the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence partitions?
17,18,20 and 21 degrees
16 and 26 degrees
18,20 and 22 degrees
17,18,20 and 22 degrees
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Given the state diagram, which test case is the minimum series of valid transitions to cover every state?
SS-S1-S2-S4-S1-S3-ES
SS-S1-S4-S2-S1-S3-ES
SS-S1-S2-S4-S1-S3-S4-S1-S3-ES
SS-S1-S2-S3-S4-ES
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How is statement coverage determined?
Number of executable statements tested divided by the total number of executable statements
Number of possible test case outcomes divided by the total number of function points
Number of test decision points divided by the number of test cases
Number of decision outcomes tested divided by the total number of decision outcomes
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Given the following program fragment:
If day =Monday then
statement a
Else
statement b
End if
If day = Tuesday
then statement c
End if
What is the minimum number of test cases needed to achieve 100% statement coverage?
3
2
1
4
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?