ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

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

Select ONE option.

2 / 40

2. Which of the following test levels is MOST likely being performed if the testing is focused on validation and is not being performed by testers?

Select ONE option.

3 / 40

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

4 / 40

4. Which of the following is NOT a purpose of a test plan?

Select ONE option.

5 / 40

5. Which test activity involves working with test data requirements, test conditions, test environment requirements and test cases?

Select ONE option.

6 / 40

6. Which of the following is the BEST example of how traceability supports testing?

Select ONE option.

7 / 40

7. Which of the following BEST describes retrospectives?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

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

Select TWO options.

11 / 40

11. Which of the following tests is MOST likely to be performed as part of functional testing?

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

13. Your favorite bicycle daily rental store has just introduced a new Customer Relationship Management system and asked you, one of their most loyal members, to test it.
The implemented features are as follows:

• Anyone can rent a bicycle, but members receive a 20% discount
• However, if the return deadline is missed, the discount is no longer available
• After 15 rentals, members get a gift: a T-Shirt

Decision table describing the implemented features looks as follows:

Based ONLY on the feature description of the Customer Relationship Management system, which of the above rules describes an impossible situation?

 

Select ONE option.

14 / 40

14. Which of the arguments below would you use to convince your manager to organize retrospectives at the end of each release cycle?

Select ONE option.

15 / 40

15. Your team follows the process that uses the DevOps delivery pipeline. The first three steps of this process are:

(1) Code development
(2) Submit code into a version control system and merge it into the “test” branch
(3) Perform component testing for the submitted code

Which of the following is BEST suited to be the entry criterion for step (2) of this pipeline?

Select ONE option.

16 / 40

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

17 / 40

17. You are designing test cases based on the following decision table.

So far you have designed the following test cases:

• TC1: 19-year-old, unregistered man with no experience; expected result: category A
• TC2: 65-year-old, unregistered woman with 5 years of experience; expected result: category B
• TC3: 66-year-old, registered man with no experience; expected result: category C
• TC4: 65-year-old, registered woman with 4 years of experience; expected result:
category D

Which of the following test cases, when added to the existing set of test cases, will increase the decision table coverage?

Select ONE option.

18 / 40

18. Which of the following is a product quality metric?

Select ONE option.

19 / 40

19. Which of the following statements about formal reviews is TRUE?

Select ONE option.

20 / 40

20. You are testing a web application that allows users to SEARCH for products, VIEW product details, ADD products to a shopping cart, and place an ORDER.
You have prepared the following five test cases, which you want to execute according to their priorities:

TC1: SEARCH product A Priority: medium

TC2: VIEW product A details Priority: low

TC3: ADD product B to a shopping cart Priority: medium

TC4: ADD product C to a shopping cart Priority: high

TC5: place an ORDER Priority: high

You also identified the following logical dependencies between test cases:

• SEARCH functionality must be tested before VIEW functionality can be tested, as product details rely on search functionality.
• VIEW functionality must be tested before ADD functionality, as adding products relies on the availability of accurate product details.
• ADD functionality must be tested before ORDER functionality, as placing an order relies on the availability of accurate shopping cart information.

Which test case should be executed as the fourth one?

Select ONE option.

21 / 40

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

22 / 40

22. A wine storage system uses a control device that measures the wine cell temperature T (measured in °C, rounded to the nearest degree) and alarms the user if it deviates from the optimal value of 12, according to the following rules:

• if T = 12, the system says, “optimal temperature”

• if T < 12, the system says, “temperature is too low!”

• if T > 12, the system says, “temperature is too high!”

You want to use the 3-point boundary value analysis (BVA) to verify the behavior of the control device. A test input is a temperature in °C provided by the device.

What is the MINIMAL set of test inputs that achieves 100% of the desired coverage?

Select ONE option.

23 / 40

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

 

Select ONE option.

24 / 40

24. Which of the following statements is CORRECT?

Select ONE option.

25 / 40

25. Which of the following is NOT true for white-box testing?

Select ONE option.

26 / 40

26. You are testing a sort function that gets a set of numbers as input and returns the same set of numbers sorted in ascending order. The log from the test execution looks as follows.

Which of the following provides the BEST description of the failure that can be used in a defect report?

Select ONE option.

27 / 40

27. Which of the following is an advantage of the whole team approach?

Select ONE option.

28 / 40

28. Which of the following is MOST likely to be a trigger that leads to maintenance testing of a currency exchange system?

Select ONE option.

29 / 40

29. You test a system whose lifecycle is modeled by the state transition diagram shown below. The system starts in the INIT state and ends its operation in the OFF state.

What is the MINIMAL number of test cases to achieve valid transitions coverage?

Select ONE option.

30 / 40

30. Which of the following is an example of why testing is necessary?

Select ONE option.

31 / 40

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

Select ONE option.

32 / 40

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

33 / 40

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

34 / 40

34. Which of the following statements about DevOps is CORRECT?

Select ONE option.

35 / 40

35. Which of the following skills (i-v) are the MOST important skills of a tester?

i. Having domain knowledge
ii. Creating a product vision
iii. Being a good team player
iv. Planning and organizing the work of the team
v. Critical thinking

Select ONE option.

36 / 40

36. During a risk analysis the following risk was identified and assessed:

• Risk: Response time is too long to generate a report
• Risk likelihood: medium; risk impact: high
• Response to risk:

o An independent test team performs performance testing during system testing
o A selected sample of end users performs alpha and beta acceptance testing before the release

What measure is proposed to be taken in response to this analyzed risk?

Select ONE option.

37 / 40

37. You want to apply branch testing to the code represented by the following control flow graph.

How many coverage items do you need to test?

Select ONE option.

38 / 40

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

Select ONE option.

39 / 40

39. Which collaborative user story writing practice enables the team to achieve a collective understanding of what needs to be delivered?

Select ONE option.

40 / 40

40. Which test activity does a data preparation tool support?

Select ONE option.

0%

Scroll to top