ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

1. Which of the following is the BEST example of how traceability supports testing?

Select ONE option.

2 / 40

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

3 / 40

3. Which of the following is true about exploratory testing?

Select ONE option.

4 / 40

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

5 / 40

5. You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:

Variable: PIN code length

• The partition “length correct” - four-digit PINs
• The partition “length incorrect” - PINs with length other than 4

Variable: Number of different digits

• The partition “number of different digits correct” - PINs with at least two different digits
• The partition “number of different digits incorrect” - PINs with all digits being the same

Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?

Select ONE option.

6 / 40

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

7 / 40

7. Which of the following BEST describes the way acceptance criteria can be documented?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

9. Which of the following is NOT anticipated by the tester while applying error guessing?

Select ONE option.

10 / 40

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

11 / 40

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

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

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

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

Select ONE option.

16 / 40

16. Which of the following is an example of why testing is necessary?

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

19 / 40

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

Select ONE option.

20 / 40

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

What do X and Y represent in this formula?

Select ONE option.

21 / 40

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

Select ONE option.

22 / 40

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

Select ONE option.

23 / 40

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

24 / 40

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

25 / 40

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

Select ONE option.

26 / 40

26. You are testing a mobile application that allows users to find a nearby restaurant based on the type of food they want to eat. Consider the following list of test cases, priorities (i.e., a smaller number means a higher priority), and dependencies:

Which of the following test cases should be executed as the third one?

Select ONE option.

27 / 40

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

28 / 40

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

29 / 40

29. Which TWO of the following tasks belong MAINLY to a testing role?

Select TWO options.

30 / 40

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

31 / 40

31. Which of the following statements describe a valid test objective?

Select ONE option.

32 / 40

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

Select TWO options.

33 / 40

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

Select ONE option.

34 / 40

34. How is the whole team approach present in the interactions between testers and business representatives?

Select ONE option.

35 / 40

35. Which work product can be used by an agile team to show the amount of work that has been completed and the amount of total work remaining for a given iteration?

Select ONE option.

36 / 40

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

Select ONE option.

37 / 40

37. Which of the following is MOST likely to be a benefit of test automation?

Select ONE option.

38 / 40

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

Select ONE option.

39 / 40

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

40 / 40

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

0%

Scroll to top