ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

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

Select TWO options.

2 / 40

2. Which of the following statements about the value of static testing is CORRECT?

Select ONE option.

3 / 40

3. You are applying state transition testing to the hotel room reservation system modeled by the following state transition table, with 4 states and 5 different events:

Assuming all test cases start in the ‘Requesting’ state, which of the following test cases, represented as sequences of events, achieves the highest valid transitions coverage?

Select ONE option.

4 / 40

4. Decide which of the following statements (i-v) are true for static testing.

i. Abnormal external behaviors are easier to identify with this testing
ii. Discrepancies from a coding standard are easier to find with this testing
iii. It identifies failures caused by defects when the software is run
iv. Its test objective is to identify defects as early as possible
v. Missing coverage for critical security requirements is easier to find and fix

Select ONE option.

5 / 40

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

6 / 40

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

7 / 40

7. High-level test conditions are being used by testers to generate test cases and execute tests. Even though the test conditions remain the same, the test cases are varied each time. Which of the following ‘principles of testing’ is being addressed through the variation of test cases?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

9. Which of the following statements BEST describes the difference between decision table testing and branch testing?

Select ONE option.

10 / 40

10. Which participant in the review process is responsible for ensuring that the review meetings run effectively and that everyone at the meetings can voice their opinions freely?

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

13 / 40

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

Select ONE option.

14 / 40

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

15 / 40

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

16 / 40

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

Select TWO options.

17 / 40

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

18 / 40

18. Which of the following is NOT a benefit of static testing?

Select ONE option.

19 / 40

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

20 / 40

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

21 / 40

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

22 / 40

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

23 / 40

23. Which of the following is NOT a valid purpose for a test report?

Select ONE options.

24 / 40

24. The user reported a software failure. An engineer from the support team asked the user for the software version number where the failure was observed. Based on the version number, the team reassembled all the files that made up the release. This later allowed a developer to perform analysis, find the defect, and fix it.

Which of the following enabled the above activity to be performed by the team?

Select ONE options.

25 / 40

25. Which of the following BEST fits as an element of the checklist used in checklist-based testing?

Select ONE option.

26 / 40

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

27 / 40

27. Your team uses the three-point estimation technique to estimate the test effort for a new high-risk feature. The following estimates were made:

• Most optimistic estimation: 2 person-hours
• Most likely estimation: 11 person-hours
• Most pessimistic estimation: 14 person-hours

What is the final estimate?

Select ONE option.

28 / 40

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

Select ONE option.

29 / 40

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

Select ONE option.

30 / 40

30. At the beginning of each iteration, the team estimates the amount of work (in person-days) they will need to complete during the iteration. Let E(n) be the estimated amount of work for iteration n, and let A(n) be the actual amount of work done in iteration n. From the third iteration, the team uses the following estimation model based on extrapolation:

 

 

The graph shows the estimated and actual amount of work for the first four iterations.

What is the estimated amount of work for iteration #5?

Select ONE option.

31 / 40

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

Select ONE option.

32 / 40

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

33 / 40

33. Which of the following BEST describes an example of how configuration management (CM) supports testing?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

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

Select ONE options.

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

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

 

Select ONE option.

40 / 40

40. You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table.

What test data will show that there are contradictory rules in the decision table?

Select ONE option.

0%

Scroll to top