Unidad 4 - Test Techniques
Quiz
•
Other
•
•
Practice Problem
•
Hard
Juli G
Used 7+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to
zero. The bonus is based on the length of employment:
• Less than or equal to 2 years
• More than 2 years but less than 5 years
• 5 to 10 years inclusively
• Longer than 10 years
What is the minimum number of test cases required to cover all valid equivalence partitions for
calculating the bonus?
3
5
2
4
Answer explanation
4
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A speed control and reporting system has the following characteristics:
• If you drive 50 km/h or less, nothing will happen.
• If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned.
• If you drive faster than 55 km/h but not more than 60 km/h, you will be fined.
• If you drive faster than 60 km/h, your driving license will be suspended.
• The speed in km/h is available to the system as an integer value.
Which would be the most likely set of values (km/h) identified by applying the boundary value
analysis, where only the values on the boundaries of the equivalence classes are selected?
0, 49, 50, 54, 59, 60
50, 55, 60
49, 50, 54, 55, 60, 62
50, 51, 55, 56, 60, 61
Answer explanation
50, 51, 55, 56, 60, 61
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A company's employees are paid bonuses if they work more than a year in the company and
achieve a target which is individually agreed before.
These facts can be shown in a decision table:
Which of the following test cases represents a situation that can happen in real life, and is missing
in the above decision table?
Condition1 = YES, Condition2 = NO, Condition3 = YES, Action= NO
Condition1 = YES, Condition2 = YES, Condition3 = NO, Action= YES
Condition1 = NO, Condition2 = NO, Condition3 = YES, Action= NO
Condition1 = NO, Condition2 = YES, Condition3 = NO, Action= NO
Answer explanation
Condición1 = NO, Condición2 = SÍ, Condición3 = NO, Acción = NO
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following state model of a battery charger software:
Which of the following sequences of transitions provides the highest level of transition coverage for
the model?
WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT
HIGH → CHARGE → LOW → CHARGE → TRICKLE → WAIT → TRICKLE → WAIT → TRICKLE
WAIT → TRICKLE → WAIT → OFF → WAIT → TRICKLE → CHARGE → LOW → CHARGE
OFF → WAIT → OFF → WAIT → TRICKLE → CHARGE → HIGH → CHARGE → LOW
Answer explanation
WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT -> 8 transiciones
HIGH → CHARGE → LOW → CHARGE → TRICKLE → WAIT → TRICKLE → WAIT → TRICKLE-> 6 transiciones
WAIT → TRICKLE → WAIT → OFF → WAIT → TRICKLE → CHARGE → LOW → CHARGE -> 7 transiciones
OFF → WAIT → OFF → WAIT → TRICKLE → CHARGE → HIGH → CHARGE → LOW -> 7 transiciones
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements about the benefits of deriving test cases from use cases are true? (multiple answers)
Deriving test cases from use cases is helpful for system and acceptance testing
Deriving test cases from use cases is helpful only for automated testing
Deriving test cases from use cases is helpful for component testing
Deriving test cases from use cases is helpful for integration testing
Answer explanation
A: Deriving test cases from use cases is helpful for system and acceptance testing
D: Deriving test cases from use cases is helpful for integration testing
Es una descripción de uso particular del sistema por un actor.
• Ayuda a identificar casos que cubren el sistema de inicio a fin.
• Los actores son generalmente personas (usuarios) pero también pueden ser otros sistemas o sub-sistemas.
• Los casos de uso se definen en términos del autor, de lo que puede y no puede hacer.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Test 1: A,B, C
Test 2: A, B, D, G, H
What statement coverage is achieved?
50%
75%
90%
100%
Answer explanation
6/8 = 75%
SC = Nro de ELSE + 1
Fórmula: SC= Nro de sentencias ejecutadas / Nro total de sentencias
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Test 1: A,B, C
Test 2: A, B, D, G, H
What decision coverage is achieved?
50%
62%
75%
100%
Answer explanation
5/8 = 62%
DC = Nro de IF + 1
Fórmula: DC= Número de decisiones ejecutadas / Número total de decisiones
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
7 questions
Growth Mindset or Fixed Mindset?_P123
Quiz
•
1st - 3rd Grade
15 questions
My Body Parts
Quiz
•
1st - 3rd Grade
10 questions
Self-management
Quiz
•
1st - 3rd Grade
14 questions
City of Ember chapter 3-4
Quiz
•
5th Grade
10 questions
CCHU5001_Week 3_Quiz
Quiz
•
University
16 questions
Freight Rate
Quiz
•
University
11 questions
OSH - Module 1
Quiz
•
Professional Development
12 questions
FIFA 21
Quiz
•
1st - 3rd 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
Discover more resources for Other
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
