Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Your organization has been making animal food dispensers for free-range chickens and has been using a combination of test automation, exploratory testing, and some black-box testing on all products. The company has been using the following approach to the testing of the high-risk items:

    Exploratory testing = 85%

    Black-box testing = 15%

    Test automation = coverage goal is 25% but time is only allocated to automation if no other testing is needed, so the coverage is currently about 5% and the automation suite is run only infrequently.

The company has decided to modify their product and use it for pill dispensing for pharmacies. Regardless of the mechanical challenges of this modification, you now have to determine how testing should be adjusted for this safety-critical application. Which of the following would follow the guidelines in the syllabus for the testing approach for the high-risk items?

A.

Exploratory testing = 85%

Black-box testing = 15%

Test automation = 25% coverage, executed infrequently

B.

Exploratory testing = 15%

Black-box testing = 85%

Test automation = 25%, executed for every code release

C.

Exploratory testing = 50%

Black-box testing = 50%

Test automation = 50% coverage, executed before every production release

D.

Exploratory testing = 25%

Black-box testing = 75%

Test automation = 75% coverage, executed for every code release

**You have received this BDD test:

Given that a customer enters the correct PIN

When they request to make a withdrawal

And they have enough money in their account

Then they will receive the money

And a receipt

Which of the following is the user story that best fits this BDD test?**

A.

As a customer

I want to deposit money into my account

So that I can collect interest

B.

As an ATM

I want to provide services to my customer

So they will be happy

C.

As a customer

I want to withdraw money from my account

So that I can buy a present

D.

As a bank teller

I want customers to use the ATM

So that I don’t have to deal with them

Why is it important to refactor test cases to make them easier to understand?

A.

Because developers need to use them for performance testing

B.

Because they will be used as the code-under-test changes, so they need to be easy for other testers to understand and modify

C.

Because users will apply them as use cases for UAT and need to be able to determine the main path and alternate paths

D.

Because the observable behavior of the test case will change and the product owner needs to be able to clearly see what the behavior should be

You are testing a large e-commerce system for household goods that is being implemented using Agile methodologies. You are currently working on deriving tests for stories that are implementing the following epic:

As a customer, I want to use the e-commerce system, so that I can have my purchased goods delivered to my house.

The story you are currently working on is:

As a customer, I want to be told when my items will be delivered, so I can plan to be home.

You have been given the following charter that was proposed by another tester for testing this story:

Login as a customer, buy enough of each item to qualify for free shipping for each item, checkout, and verify that no shipping fee has been added.

What is the main flaw in this charter?

A.

It focuses on the delivery company instead of the activities of the user

B.

It does not cover the main functionality of the user story

C.

The expected results are not defined

D.

The actions of the user are not clearly stated in the charter

You are testing a mission-critical system and want to use exploratory testing for part of the testing. According to the syllabus, what is the correlation between this type of testing and the risk level of the item being tested?

A.

High = recommended, Medium = recommended, Low = highly recommended

B.

High = recommended, Medium = highly recommended, Low = highly recommended

C.

High = highly recommended, Medium = highly recommended, Low = highly recommended

D.

High = not recommended, Medium = recommended, Low = highly recommended

Consider the following section of pseudocode:

function getPassword() {

var x;

var y;

var z;

var passwordGood = false

// Get password from user, user is allowed 3 tries

do until x = 3

call getPassword (password)

if password is good

x = 3

passwordGood = true

else

X = X + 1

display “Password is not valid, try again’’

endif

If passwordGood <> true

display “You exceeded the number of tries to enter a password. Your account is now locked. Call customer service.”

endif

endloop

}

For this section of code, which of the following issues should be identified during a code review?

    Variables have not been properly defined with meaningful names

    There are unused variables defined

    Divisors are not tested for zero

    Loop counters are not properly initialized

    There are endless loops

    There are statements within the loop that should be outside the loop

A.

1, 3, 4, 5

B.

2, 3, 4, 6

C.

2, 3, 5, 6

D.

1, 2, 4, 6

You want to get information from a large set of users to help define acceptance criteria for a set of stories. You want to use questions with predefined answers and allow the user to select the best answer from that set. What type of elicitation technique would be most efficient to use?

A.

Quantitative questionnaires

B.

Qualitative questionnaires

C.

Quantitative interviews

D.

Qualitative interviews

According to the syllabus, which of the following is a correct statement about automation in a mission-critical system versus a non-critical system?

A.

Automation is more important with the mission-critical system as the risk increases

B.

Automation is less important with the non-critical system as the risk increases

C.

Automation is at the same level for both systems as the risk increases

D.

Automation is not recommended for the non-critical system at any risk level, but is recommended for the mission-critical system

What is the characteristic of a unit test that makes it “atomic”?

A.

If it is run with the same conditions, it will get the same result each time

B.

It tests the details of the code, including verifying all the possible areas of data handling

C.

It tests only the targeted piece of functionality

D.

It runs very fast, allowing many tests to be run quickly

You have been asked to supply the list of keywords for a keyword-driven test automation script that will be used to test the following story:

As a customer, I want to be able to add and delete items from my shopping cart, so that I can buy the right number of items and still get free shipping on some of the items.

The automation will add and delete items from a customer’s shopping cart and will then verify that the total shipping cost is correct. The test automation library has a large set of keywords that have been coded to support this e-commerce site. Which of the following is the smallest set of keywords that contains the ones needed to support testing this story?

A.

Add Item, View Cart, Compute Shipping

B.

Login, Add Item, Delete Item, Checkout, Compute Cart Total, Compute Shipping, Complete Order

C.

Login, Add Item, Checkout, Compute Cart Total, Compute Shipping, Complete Order

D.

Login, Add Item, Delete Item, View Cart, Compute Shipping