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

3 / 40

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

Select ONE options.

4 / 40

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

5 / 40

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

Select ONE option.

6 / 40

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

Select ONE option.

7 / 40

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

Select ONE option.

8 / 40

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

9 / 40

9. Which of the following statements about the independence of testing is CORRECT?

Select ONE option.

10 / 40

10. Which of the following is MOST likely to be a challenge encountered when implementing DevOps?

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

15. Given the following task descriptions:

1. The quality characteristics to be evaluated and the exit criteria are selected
2. Everyone has access to the work product
3. Anomalies are identified in the work product
4. Anomalies are discussed

And the following review activities

A. Individual review
B. Review initiation
C. Planning
D. Communication and analysis

Which of the following BEST matches the task descriptions and activities?

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

18. Which of the following is a typical test objective?

Select ONE option.

19 / 40

19. You were given a task to analyze and fix causes of failures in a new system to be released.

Which activity are you performing?

Select ONE option.

20 / 40

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

Select ONE option.

21 / 40

21. The ‘absence-of-defects fallacy’ is one of the principles of testing. Which of the following is an example of addressing this principle in practice?

Select ONE option.

22 / 40

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

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. Consider the following defect report for a Book Lending System.

Which of the following is MOST likely to help the developer reproduce the failure quickly?

Select ONE options.

25 / 40

25. You are testing a user story with three acceptance criteria: AC1, AC2 and AC3. AC1 is covered by test case TC1, AC2 by TC2, and AC3 by TC3. The test execution history had three test runs on three consecutive versions of the software as follows:

Tests are repeated once you are informed that all defects found in the test run are corrected and a new version of the software is available.
Which of the above tests are executed as regression tests?

Select ONE option.

26 / 40

26. You are preparing a test execution schedule for executing seven test cases TC 1 to TC 7.

The following figure includes the priorities of these test cases (1=highest priority, 3 = lowest priority).

The figure also shows the dependencies between test cases using arrows. For instance, the arrow from TC 4 to TC 5 means that TC 5 can only be executed if TC 4 was previously executed.

Which test case should be executed sixth?

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

Select ONE option.

29 / 40

29. W A developer was asked to implement the following business rule:

You design the test cases using 2-value boundary value analysis.

Which of the following sets of test inputs achieves the greatest coverage?

Select ONE option.

30 / 40

30. Which of the following CANNOT be examined by static testing?

Select ONE option.

31 / 40

31. Your team analyzes the following user story in order to define the acceptance criteria:

As a registered customer, I want to be able to view my previous orders on the company's website, so that I can keep track of my purchases.

Which of the following test cases will NOT be relevant for this user story?

Select ONE option.

32 / 40

32. The following is a list of the work products produced in the SDLC.

i. Business requirements
ii. Schedule
iii. Test budget
iv. Third-party executable code
v. User stories and their acceptance criteria

Which of them can be reviewed?

Select ONE option.

33 / 40

33. Consider the following defect report for a web-based shopping application:

What is the MOST important information that is missing from this report?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

36 / 40

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

What do X and Y represent in this formula?

Select ONE option.

37 / 40

37. You are using acceptance test-driven development and designing test cases based on the following user story:

Which test case is the MOST reasonable one to test AC3?

Select ONE option.

38 / 40

38. Which of the following statements BEST describes the acceptance test-driven development (ATDD) approach?

Select ONE option.

39 / 40

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

Select ONE option.

40 / 40

40. You are designing test cases based on the following state transition diagram:

What is the MINIMUM number of test cases required to achieve 100% valid transitions coverage?

Select ONE option.

0%

Scroll to top