ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

1. Which of the following is NOT an example of the shift left approach?

Select ONE option.

2 / 40

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

3 / 40

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

4 / 40

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

Select ONE option.

5 / 40

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

6 / 40

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

Select ONE option.

7 / 40

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

Select ONE option.

8 / 40

8. Which of the following BEST explains a benefit of independence of testing?

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

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

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. Which of the following BEST describes the way acceptance criteria can be documented?

Select ONE option.

13 / 40

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

14 / 40

14. Consider the following rule: “for every SDLC activity there is a corresponding test activity”. In which SDLC models does this rule hold?

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

17. Which of the following statements BEST describes the difference between testing and debugging?

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

20 / 40

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

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. Which of the following statements about the different testing roles is MOST likely to be CORRECT?

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

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

Select ONE option.

25 / 40

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

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

29 / 40

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

30 / 40

30. Given the following testware:

1. Coverage items
2. Change requests
3. Test execution schedule
4. Prioritized test conditions

And the following test activities

A. Test analysis
B. Test design
C. Test implementation
D. Test completion

Which of the following BEST shows the testware produced by the activities?

Select ONE option.

31 / 40

31. Given the following roles in reviews:

1. Scribe
2. Review leader
3. Facilitator
4. Manager

And the following responsibilities in reviews:

A. Ensures the effective running of review meetings and the setting up a safe review environment
B. Records review information, such as decisions and new anomalies found during the review meeting
C. Decides what is to be reviewed and provides resources, such as staff and time for the review
D. Takes overall responsibility for the review such as organizing when and where the review will take place

Which of the following BEST matches the roles and responsibilities?

Select ONE option.

32 / 40

32. Which of the following BEST describes how using checklist-based testing can result in increased coverage?

Select ONE option.

33 / 40

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

34 / 40

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

35 / 40

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

36 / 40

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

37 / 40

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

38 / 40

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

Select ONE option.

39 / 40

39. Given the following descriptions:

1. Support workflow tracking
2. Facilitate communication
3. Virtual machines
4. Support reviews

And the following test tool categories:

A. Static testing tools
B. Tools supporting scalability and deployment standardization
C. DevOps tools
D. Collaboration tools

Which of the following BEST matches the descriptions and categories?

Explanation / Rationale

40 / 40

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

Select ONE option.

0%

Scroll to top