ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

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

2 / 40

2. You have been assigned as a tester to a team producing a new system incrementally. You have noticed that no changes have been made to the existing regression test cases for several iterations and no new regression defects were identified. Your manager is happy, but you are not. Which testing principle explains your skepticism?

Select ONE option.

3 / 40

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

Select ONE option.

4 / 40

4. In your project there has been a delay in the release of a brand-new application and test execution started late, but you have very detailed domain knowledge and good analytical skills. The full list of requirements has not yet been shared with the team, but management is asking for some test results to be presented.

Which test technique fits BEST in this situation?

Select ONE option.

5 / 40

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

Select ONE option.

6 / 40

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

7 / 40

7. According to the testing quadrants model, which of the following falls into quadrant Q1 (“technology facing” and “support the team”)?

Select ONE option.

8 / 40

8. Which of the following pieces of information contained in a test progress report is the LEAST useful for business representatives?

Select ONE option.

9 / 40

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

10 / 40

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

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

13. A phone ringing in a neighboring cubicle distracts a programmer causing him to improperly program the logic that checks the upper boundary of an input variable. Later, during system testing, a tester notices that this input field accepts invalid input values.

Which of the following correctly describes an incorrectly coded upper bound?

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

Select ONE options.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

Select ONE option.

19 / 40

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

20 / 40

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

21 / 40

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

22 / 40

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

23 / 40

23. One of the ‘principles of testing’ states that exhaustive testing is impossible. Which of the following is an example of addressing this principle in practice?

Select ONE option.

24 / 40

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

Select ONE option.

25 / 40

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

Select ONE option.

26 / 40

26. Given the following test tasks:

1. Derive test cases from test conditions
2. Identify reusable testware
3. Organize test cases into test procedures
4. Evaluate test basis and test object

And the following test activities:

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

Which of the following BEST matches the tasks with the activities?

Select ONE option.

27 / 40

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

28 / 40

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

Select ONE option.

29 / 40

29. Your organization’s test strategy suggests that once a system is going to be retired, data migration shall be tested. As part of what test type is this testing MOST likely to be performed?

Select ONE option.

30 / 40

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

31 / 40

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

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

35. Given the following risks:

1. Ineffective loop implementation causes long system responses
2. Consumers change their preferences
3. Flooding of the server room
4. Patients above a certain age receive inaccurate reports

And the following mitigation activities:

A. Risk acceptance
B. Performance testing
C. Using boundary value analysis as the test technique
D. Risk transfer

Which of the following BEST matches the risks with the mitigation activities?

Select ONE option.

36 / 40

36. Given the following testware:

i. Test completion report
ii. Data held in a database used for test inputs and expected results
iii. The list of elements needed to build the test environment
iv. Documented sequences of test cases in execution order
v. Test cases

Which of the following BEST shows the testware produced as a result of performing test implementation?

Select ONE option.

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

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

40 / 40

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

Select TWO options.

0%

Scroll to top