ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

1. Which of the following is an example of a defect that can be found by static testing but NOT by dynamic testing?

Select ONE option.

2 / 40

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

3 / 40

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

4 / 40

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

Select TWO options.

5 / 40

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

6 / 40

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

Select ONE option.

7 / 40

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

8 / 40

8. Which of the following are advantages of DevOps?

i. Faster product release and faster time to market
ii. Increases the need for repetitive manual testing
iii. Constant availability of executable software
iv. Reduction in the number of regression tests associated with code refactoring
v. Setting up the test automation framework is inexpensive since everything is automated

Select ONE option.

9 / 40

9. Which of the following is NOT true regarding the test pyramid?

Select ONE option.

10 / 40

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

Select ONE option.

11 / 40

11. The team wants to estimate the time needed for one tester to execute four test cases for a software component. The team has gathered the following measures of the effort used to execute a single test case:

• Best-case scenario: 1 hour
• Worst-case scenario: 8 hours
• Most likely scenario: 3 hours

Given that the three-point estimation technique is being used, what is the final estimate of the time needed to execute all four test cases?

Select ONE option.

12 / 40

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

13 / 40

13. Which of the following is MOST likely to describe a task performed by someone in a test management role?

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

16. Given the following example defects:

i. Two different parts of the design specification disagree due to the complexity of the design
ii. A response time is too long and so makes users lose patience
iii. A path in the code cannot be reached during execution
iv. A variable is declared but never subsequently used in the program
v. The amount of memory needed by the program to generate a report is too high

Which of the following BEST identifies example defects that could be found by static testing (rather than dynamic testing)?

Select ONE option.

17 / 40

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

Select ONE options.

18 / 40

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

Select TWO options.

19 / 40

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

Select ONE options.

20 / 40

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

Select ONE option.

21 / 40

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

22 / 40

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

Select ONE option.

23 / 40

23. Which of these statements is NOT a factor that contributes to successful reviews?

Select ONE option.

24 / 40

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

Select ONE option.

25 / 40

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

26 / 40

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

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

28. Given the following review types:

1. Technical review
2. Informal review
3. Inspection
4. Walkthrough

And the following descriptions:

A. Includes objectives such as gaining consensus, generating new ideas, and motivating authors to improve
B. Includes objectives such as educating reviewers, gaining consensus, generating new ideas and detecting potential defects
C. The main objective is detecting potential defects and it requires metrics collection to support process improvement
D. The main objective is detecting potential defects and it generates no formal documented output

Which of the following BEST matches the review types and the descriptions?

Select ONE option.

29 / 40

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

30 / 40

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

Select ONE option.

31 / 40

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

Select ONE option.

32 / 40

32. What is the relationship between the testing quadrants, test levels and test types?

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

35. Which of the following is a characteristic of experience-based test techniques?

Select ONE option.

36 / 40

36. In many software organizations the test department is called the Quality Assurance (QA) department. Is this sentence correct or not and why?

Select ONE option.

37 / 40

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

Select ONE option.

38 / 40

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

Select ONE option.

39 / 40

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

40 / 40

40. Consider the following list:

• Correct input not accepted
• Incorrect input accepted
• Wrong output format
• Division by zero

What test technique is MOST PROBABLY used by the tester who uses this list when performing testing?

Select ONE option.

0%

Scroll to top