Unidad 4 - Test Techniques

Quiz
•
Other
•
•
Hard

Juli G
Used 7+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Testing - The Synapxe Way!

Quiz
•
KG - Professional Dev...
8 questions
rrtet

Quiz
•
12th Grade
10 questions
Angular_L1

Quiz
•
Professional Development
10 questions
SQM - MTP Workshop

Quiz
•
Professional Development
10 questions
Test Tips Review...

Quiz
•
11th - 12th Grade
12 questions
FAST Review Prep

Quiz
•
6th - 8th Grade
15 questions
SvensQA Software Testing

Quiz
•
Professional Development
10 questions
Component Testing

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade