ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

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

2 / 40

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

3 / 40

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

Select ONE options.

4 / 40

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

5 / 40

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

Select ONE option.

6 / 40

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

7 / 40

7. The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be performed?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

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

11 / 40

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

12 / 40

12. You work as a tester in a project on a mobile application for food ordering for one of your clients. The client sent you a list of requirements. One of them, with high priority, says

“The order must be processed in less than 10 seconds in 95% of the cases”.

You created a set of test cases in which a number of random orders were made, the processing time measured, and the test results were checked against the requirements.

What test type did you perform?

Select ONE option.

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

17. The following decision table contains the rules for determining the risk of atherosclerosis.

You designed the test cases with the following test input data:

TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg
TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg
TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg
TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg
TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg

What is the decision table coverage achieved by these test cases?

Select ONE option.

18 / 40

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

19 / 40

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

20 / 40

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

21 / 40

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

Select TWO options.

22 / 40

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

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

24. Which of the following statements about the chosen software development lifecycle is CORRECT?

Select ONE option.

25 / 40

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

26 / 40

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

Select ONE option.

27 / 40

27. You are testing a system that calculates the final course grade for a given student.

The final grade is assigned based on the final result, according to the following rules:

• 0 – 50 points: failed
• 51 – 60 points: fair
• 61 – 70 points: satisfactory
• 71 – 80 points: good
• 81 – 90 points: very good
• 91 – 100 points: excellent

You have prepared the following set of test cases:

What is the 2-value Boundary Value Analysis (BVA) coverage for the final result that is achieved with the existing test cases?

Select ONE option.

28 / 40

28. The following list contains risks that have been identified for a new software product to be developed:

i. Management moves two experienced testers to another project
ii. The system does not comply with functional safety standards
iii. System response time exceeds user requirements
iv. Stakeholders have inaccurate expectations
v. Disabled people have problems when using the system

Which of them are project risks?

Select ONE option.

29 / 40

29. The table shows the traceability matrix from test cases to requirements. “X” means that a given test case covers the corresponding requirement.

You want to prioritize the test cases following the additional coverage prioritization technique.

You execute all four test cases.

Which test case should be executed as the LAST one?

Select ONE options.

30 / 40

30. You need to update one of the automated test scripts to be in line with a new requirement. Which process indicates that you create a new version of the test script in the test repository?

Select ONE option.

31 / 40

31. Which of the following is an example of how product risk analysis influences thoroughness and scope of testing?

Select ONE option.

32 / 40

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

33 / 40

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

Select ONE option.

34 / 40

34. Which of the following BEST define EXIT criteria in a testing project?

Select TWO options.

35 / 40

35. Which of the following test activities are MOST likely to involve the application of boundary value analysis and equivalence partitioning?

Select TWO options.

36 / 40

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

37 / 40

37. Which of the following is a good testing practice that applies to all software development lifecycles?

Select ONE option.

38 / 40

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

39 / 40

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

Select ONE option.

40 / 40

40. For a given risk, its risk level is $1,000 and its risk likelihood is estimated as 50%.

What is the risk impact?

Select ONE options.

0%

Scroll to top