ISTQB Learning

Test your knowledge

0%
34
Created on By Admin

Exam 5

1 / 40

1. You are testing a temperature control system for a horticultural cold storage facility. The system receives the temperature (in full degrees Celsius) as the input. If the temperature is between 0 and 2 degrees inclusive, the system displays the message “temperature OK”. For lower temperatures, the system displays the message "temperature too low" and for higher temperatures it displays the message “temperature too high”.

Using two-value boundary value analysis, which of the following sets of test inputs provides the highest level of boundary value coverage?

Select ONE option.

2 / 40

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

Select ONE option.

3 / 40

3. Which of the following is MOST likely to be a benefit of test automation?

 

Select ONE option.

4 / 40

4. Given the following benefits and drawbacks of the independence of testing:

i. The testers work in a different location from the developers
ii. Testers question the assumptions programmers make while writing code
iii. A confrontational dynamic has been established between testers and developers
iv. Developers have convinced themselves that testers are mostly accountable for quality
v. Testers have different biases than those held by the developers

Which are MOST likely to be considered benefits?

Select ONE option.

5 / 40

5. Which of the following provides the BEST description of the shift-left approach?

Select ONE option.

6 / 40

6. The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be performed?

Select ONE option.

7 / 40

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

Select ONE option.

8 / 40

8. Given the following test tool categories:

i. Collaboration tools
ii. DevOps tools
iii. Management tools
iv. Non-functional testing tools
v. Test design and implementation tools

Tools from which of the categories are MOST likely to facilitate test execution?

Select ONE options.

9 / 40

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

Select ONE options.

10 / 40

10. What does the test pyramid model show?

Select ONE option.

11 / 40

11. Which of the following BEST describes the concept behind error guessing?

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

13. One of the ‘principles of testing’ states that exhaustive testing is impossible. Which of the following is an example of addressing this principle in practice?

Select ONE option.

14 / 40

14. The reviews being used in your organization have the following attributes:

• There is the role of a scribe
• The main purpose is to evaluate quality
• The meeting is led by the author of the work product
• There is individual preparation
• A review report is produced

Which of the following review types is MOST likely being used?

Select ONE option.

15 / 40

15. Which of the following is a benefit of early and frequent stakeholder feedback?

Select ONE option.

16 / 40

16. 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.

17 / 40

17. The following list contains risks that have been identified for a new software product to be developed:

i. Management moves two experienced testers to another project
ii. The system does not comply with functional safety standards
iii. System response time exceeds user requirements
iv. Stakeholders have inaccurate expectations
v. Disabled people have problems when using the system

Which of them are project risks?

Select ONE option.

18 / 40

18. Which TWO of the following tasks belong MAINLY to a testing role?

Select TWO options.

19 / 40

19. 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.

20 / 40

20. You are testing a system that calculates the final course grade for a given student.

The final grade is assigned based on the final result, according to the following rules:

• 0 – 50 points: failed
• 51 – 60 points: fair
• 61 – 70 points: satisfactory
• 71 – 80 points: good
• 81 – 90 points: very good
• 91 – 100 points: excellent

You have prepared the following set of test cases:

What is the 2-value Boundary Value Analysis (BVA) coverage for the final result that is achieved with the existing test cases?

Select ONE option.

21 / 40

21. Which of the following is true about exploratory testing?

Select ONE option.

22 / 40

22. 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

23 / 40

23. 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.

24 / 40

24. Which item correctly identifies a potential risk of performing test automation?

Select ONE option.

25 / 40

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

Select ONE option.

26 / 40

26. Which of the following statements about branch testing is CORRECT?

Select ONE option.

27 / 40

27. 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.

28 / 40

28. Which of the following statements describe a valid test objective?

Select ONE option.

29 / 40

29. Why does white-box testing facilitate defect detection even when the software specification is vague, outdated or incomplete?

Select ONE option.

30 / 40

30. You have just started designing test cases for the following user story.

In all test cases the precondition is as follows: there are only two products available, products A and B. Product A costs $100 and product B costs $110.

Which of the following is the BEST example of a test case for this user story?

Select ONE option.

31 / 40

31. Your test suite S for a program P achieves 100% statement coverage. It consists of three test cases, each of which achieves 50% statement coverage.

Which of the following statements is CORRECT?

Select ONE option.

32 / 40

32. Which of the following is an example of how product risk analysis influences thoroughness and scope of testing?

Select ONE option.

33 / 40

33. Your team uses planning poker to estimate the test effort for a newly required feature. There is a rule in your team that if there is no time to reach full agreement and the variation in the results is small, applying rules like “accept the number with the most votes” can be applied.
After two rounds, the consensus was not reached, so the third round was initiated. You can see the test estimation results in the table below.

Which of the following is the BEST example of the next step?

Select ONE option.

34 / 40

34. Which of the following statements about the different testing roles is MOST likely to be CORRECT?

Select ONE option.

35 / 40

35. 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.

36 / 40

36. Which TWO of the following options are the exit criteria for testing a system?

Select TWO options.

37 / 40

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

Select TWO options.

38 / 40

38. Which of the following is a factor that contributes to a successful review?

Select ONE option.

39 / 40

39. How is the whole team approach present in the interactions between testers and business representatives?

Select ONE option.

40 / 40

40. Let the branch coverage metric be defined as BCov = (X / Y) * 100%.

What do X and Y represent in this formula?

Select ONE option.

0%

Scroll to top