If you are testing a module of code, how do you determine the level of decision coverage you have achieved?
Software Testing Quiz

Quiz
•
Computers
•
University
•
Medium
grace levina
Used 8+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
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
Create a free account and access millions of resources
Similar Resources on Quizizz
55 questions
Model Bisnis - Quiz 1

Quiz
•
University
50 questions
LONG QUIZ FOR INFO SYSTEM MNGT

Quiz
•
University
50 questions
Software engineering MCQ Test 1

Quiz
•
University
45 questions
Computer Systems Servicing - Q2 Summative Test

Quiz
•
University
45 questions
Final Exam BSCS 4

Quiz
•
University
55 questions
3 курс Cybersecurity Compliance Framework & System Administratio

Quiz
•
University
52 questions
ICT CBP Q3 Periodical Test

Quiz
•
9th Grade - University
50 questions
Advanced Testing and Quality Assurance Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade