ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

1. The following decision table contains the rules for determining the risk of atherosclerosis.

You designed the test cases with the following test input data:

TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg
TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg
TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg
TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg
TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg

What is the decision table coverage achieved by these test cases?

Select ONE option.

2 / 40

2. Given the following testware:

i. Test completion report
ii. Data held in a database used for test inputs and expected results
iii. The list of elements needed to build the test environment
iv. Documented sequences of test cases in execution order
v. Test cases

Which of the following BEST shows the testware produced as a result of performing test implementation?

Select ONE option.

3 / 40

3. What is the MAIN difference between black-box test techniques and experience-based test techniques?

Select ONE option.

4 / 40

4. Your test suite achieved 100% statement coverage. What is the consequence of this fact?

Select ONE option.

5 / 40

5. The system for selling cinema tickets calculates the discount type based on the client’s birth year (BY) and on the current year (CY) as follows:

 

Let D be the difference between CY and BY, that is, D = CY – BY

• If D < 0 then print the error message “birth year cannot be greater than current year”

• If 0 ≤ D < 18 then apply the student discount

• If 18 ≤ D < 65 then apply no discount • If D ≥ 65 then apply the pensioner discount

Your test suite already contains two test cases:

• BY = 1990, CY = 2020, expected result: no discount
• BY = 2030, CY = 2029, expected result: print the error message

Which of the following test data sets should be added to achieve full valid equivalence partitioning coverage for the discount type?

Select TWO options.

6 / 40

6. You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:

Variable: PIN code length

• The partition “length correct” - four-digit PINs
• The partition “length incorrect” - PINs with length other than 4

Variable: Number of different digits

• The partition “number of different digits correct” - PINs with at least two different digits
• The partition “number of different digits incorrect” - PINs with all digits being the same

Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?

Select ONE option.

7 / 40

7. Which of the following BEST define EXIT criteria in a testing project?

Select TWO options.

8 / 40

8. Which of the following is a good testing practice that applies to all software development lifecycles?

Select ONE option.

9 / 40

9. Which of the following BEST describe the collaborative approach to user story writing?

Select ONE option.

10 / 40

10. What task may management take on during a formal review?

Select ONE option.

11 / 40

11. You are a member of a test team located in North America, developing a product for a client located in Europe. The team is agile and follows the DevOps approach and uses a continuous integration/continuous delivery pipeline.

Which of the following is the LEAST effective way to communicate test progress to the customer?

Select ONE option.

12 / 40

12. You perform system testing of an e-commerce web application and are provided with the following requirement:

REQ 05-017. If the total cost of purchases exceeds $100, the customer gets a 5% discount on subsequent purchases. Otherwise, the customer does not receive a discount.

Which test techniques will be MOST helpful in designing test cases based on this requirement?

Select ONE option.

13 / 40

13. You are testing a mobile application that allows users to find a nearby restaurant based on the type of food they want to eat. Consider the following list of test cases, priorities (i.e., a smaller number means a higher priority), and dependencies:

Which of the following test cases should be executed as the third one?

Select ONE option.

14 / 40

14. Which of the following statements about quality assurance (QA) and/or quality control (QC) is correct?

Select ONE option.

15 / 40

15. Which of the following statements is a CORRECT example of the value of traceability?

Select ONE option.

16 / 40

16. Which TWO of the following statements provide the BEST rationale for using exploratory testing?

Select TWO options.

17 / 40

17. You run two test cases, T1 and T2, on the same code. Test T1 achieved 40% statement coverage and test T2 achieved 65% statement coverage.

Which of the following sentences must be necessarily true?

Select ONE option.

18 / 40

18. Which of the following activities in the test process makes the MOST use of test progress reports?

Select ONE option.

19 / 40

19. Which of the following is MOST likely to be a risk of test automation?

Select ONE options.

20 / 40

20. Given the following risks:

1. Ineffective loop implementation causes long system responses
2. Consumers change their preferences
3. Flooding of the server room
4. Patients above a certain age receive inaccurate reports

And the following mitigation activities:

A. Risk acceptance
B. Performance testing
C. Using boundary value analysis as the test technique
D. Risk transfer

Which of the following BEST matches the risks with the mitigation activities?

Select ONE option.

21 / 40

21. You are testing a form that verifies the correctness of the length of the password given as input. The form accepts a password with the correct length and rejects a password that is too short or too long. The password length is correct if it has between 6 and 12 characters inclusive. Otherwise, it is considered incorrect.

At first, the form is empty (password length = 0). You apply boundary value analysis to the “password length” variable.

Your set of test cases achieves 100% 2-value boundary value coverage. The team decided that due to the high risk of this component, test cases should be added to ensure 100% 3-value boundary value coverage.

Which additional password lengths should be tested to achieve this?

Select ONE option.

22 / 40

22. You work in a team that develops a mobile application for food ordering. In the current iteration the team decided to implement the payment functionality.

Which of the following activities is a part of test analysis?

Select ONE option.

23 / 40

23. Which of the following options shows an example of test activities that contribute to success?

Select ONE option.

24 / 40

24. Consider the following part of a test plan.

Testing will be performed using component testing and component integration testing. The regulations require to demonstrate that 100% branch coverage is achieved for each component classified as critical.

Which part of the test plan does this part belong to?

Select ONE option.

25 / 40

25. Which of the following is LEAST likely to occur as a result of a retrospective?

Select ONE option.

26 / 40

26. Which of the following is MOST likely to impact how testing is performed for a given test object?

Select ONE option.

27 / 40

27. Given the following descriptions:

1. Support workflow tracking
2. Facilitate communication
3. Virtual machines
4. Support reviews

And the following test tool categories:

A. Static testing tools
B. Tools supporting scalability and deployment standardization
C. DevOps tools
D. Collaboration tools

Which of the following BEST matches the descriptions and categories?

Explanation / Rationale

28 / 40

28. Which of the following is MOST likely to be an example of a tester using a generic skill when testing?

Select ONE option.

29 / 40

29. Which of the following pieces of information contained in a test progress report is the LEAST useful for business representatives?

Select ONE option.

30 / 40

30. Consider the following user story:

As an Editor
I want to review content before it is published
so that I can assure the grammar is correct

and its acceptance criteria:

• The user can log in to the content management system with "Editor" role
• The editor can view existing content pages
• The editor can edit the page content
• The editor can add markup comments
• The editor can save changes
• The editor can reassign to the "content owner" role to make updates

Which of the following is the BEST example of an ATDD test for this user story?

Select ONE option.

31 / 40

31. You are testing a simplified apartment search form which has only two search criteria:

• floor (with three possible options: ground floor; first floor; second or higher floor)
• garden type (with three possible options: no garden; small garden; large garden)

Only apartments on the ground floor have gardens. The form has a built-in validation mechanism that will not allow you to use the search criteria which violate this rule.

Each test has two input values: floor and garden type. You want to apply equivalence partitioning (EP) to cover each floor and each garden type in your tests.

What is the minimal number of test cases to achieve 100% EP coverage?

Select ONE option

32 / 40

32. Which of the following is an example of a test-first approach to development?

Select ONE option.

33 / 40

33. During risk analysis the team considered the following risk: “The system allows too high a discount for a customer”. The team estimated the risk impact to be very high.

What can one say about the risk likelihood?

Select ONE option.

34 / 40

34. Which of the following is a good testing practice that applies to all software development lifecycles?

Select ONE option.

35 / 40

35. Which of the following BEST describes retrospectives?

Select ONE option.

36 / 40

36. Which of the following is a good testing practice that applies to all software development lifecycles?

Select ONE option.

37 / 40

37. How can white-box testing be useful in support of black-box testing?

Select ONE option.

38 / 40

38. Which of the following is NOT an example of how configuration management supports testing?

Select ONE option.

39 / 40

39. A designer documents a design for a user interface that does not suitably address disabled users because the designer is tired. The programmer implements the user interface in line with the design but as they are working under severe time pressure, they do not include suitable exception handling in their program code for bonus calculations. When the operational system is used, complaints are made by some disabled users about the interface and the company is subsequently fined by the relevant regulatory authority. No one notices that bonus calculations are sometimes incorrect.

Which of the following statements is CORRECT?

Select ONE option.

40 / 40

40. Customers of the TestWash car wash chain have cards with a record of the number of washes they have bought so far. The initial value is 0. After entering the car wash, the system increases the number on the card by one. This value represents the number of the current wash. Based on this number the system decides what discount the customer is entitled to.

For every tenth wash the system gives a 10% discount, and for every twentieth wash, the system gives a further 40% discount (i.e., a 50% discount in total).

Which of the following sets of input data (understood as the numbers of the current wash) achieves the highest equivalence partition coverage?

Select ONE option.

0%

Scroll to top