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

Full Access iSQI CTFL_Syll_4.0 Tutorials

Page: 10 / 15
Total 200 questions

ISTQB Certified Tester Foundation Level (CTFL) v4.0 Questions and Answers

Question 37

Which of the following statements about TDD, BDD and ATDD is true?

Options:

A.

Refactoring is a practice that is an integral part of TDD and is applied both to tests and to code written to satisfy those tests

B.

ATDD is a black-box test design technique that is applicable exclusively at acceptance test level

C.

BDD is a developer practice where business stakeholders are not usually involved as the tests are directly written at unit/component test level

D.

ATDD is the practice of running the automated acceptance tests as part of a continuous integration process

Question 38

Which of the following statements is CORRECT about White-box testing?

Options:

A.

White-box testing helps find defects because they can be used to measure statement coverage

B.

White-box testing helps find defects even when specifications are vague because it takes into account the code.

C.

White-box testing helps find defects because it provides for requirements based coverage

D.

White-box testing helps find defects because it focuses on defects rather than failures

Question 39

Consider the following user story about the authentication functionality of an e-commerce website:

"As a logged-in user, I want to change my current password with a new one, so that I can make my account safer".

The following are some of the acceptance criteria defined for the user story:

[a] After the logged-in user has successfully changed his password, an email confirming the change must be sent to him

[b] To successfully change the password, the logged-in user must enter the current password, enter a new valid password, and finally confirm by pressing the 'Change Password' button

[c] To be valid, the new password entered by the logged-in user is not only required to meet the criteria related to the length and type of characters, but must also be different form the last 5 passwords of that user

[d] A dedicated error message must be presented to the logged-in user when he enters a wrong current password

[e] A dedicated error message must be presented to the logged-in user when he enters the correct current password, but enters an invalid password

Based only on the given information, which of the following ATDD tests is most likely to be written first?

Options:

A.

The logged-in user enters a wrong current password and views the dedicated error message

B.

The logged-in user enters the correct current password, enters a valid new password (different from the last 5 passwords), presses the Change Password' button, and finally receives the e-mail confirming that the password has been successfully changed

C.

The logged-in user enters the correct current password, enters an invalid password, and finally views the dedicated error

D.

The logged-in user submits a purchase order containing ten items, selects to pay with a Visa credit card, enters credit card information of a valid card, presses the 'Confirm' button, and finally views the dedicated message confirming that the purchase has been successful

Question 40

Mark the correct sentences:

* Defects are a result of environmental conditions and are also referred to as "Failures"

* A human mistake may produce a defect

* A system mil totally fail to operate correctly when a failure exists in it

* When a defect exists in a system it may result in a failure

* Defects occur only as a result of technology changes

Options:

A.

II, IV

B.

I, II

C.

IV, V

D.

II, III, IV

Page: 10 / 15
Total 200 questions