Unidad 4 - Test Techniques

Unidad 4 - Test Techniques

11 Qs

quiz-placeholder

Similar activities

Transition Signals

Transition Signals

8th Grade

15 Qs

Ma ville

Ma ville

7th Grade

16 Qs

Foreign exchange

Foreign exchange

12th Grade

10 Qs

6. sınıf din kültürü zararlı alışkanlıklar

6. sınıf din kültürü zararlı alışkanlıklar

1st - 2nd Grade

12 Qs

Guess the anime

Guess the anime

KG - Professional Development

6 Qs

Innovation and Creativity

Innovation and Creativity

Professional Development

15 Qs

Drug For Anti-Hypertension

Drug For Anti-Hypertension

University

11 Qs

2016 or 2017?

2016 or 2017?

9th Grade

10 Qs

Unidad 4 - Test Techniques

Unidad 4 - Test Techniques

Assessment

Quiz

Other

Practice Problem

Hard

Created by

Juli G

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

50, 51, 55, 56, 60, 61

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

Condición1 = NO, Condición2 = SÍ, Condición3 = NO, Acción = NO

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?