ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

1. Given the following test activities and test tools:

1. Performance measurement and dynamic analysis
2. Test execution and logging
3. Management of testing and testware
4. Test design
A. Code coverage tools

B. Dynamic analysis tools
C. Test data preparation tools
D. Defect management tools

Which of the following BEST matches the activities and tools?

Select ONE option.

2 / 40

2. Which of the following is a typical objective of testing?

Select ONE option.

3 / 40

3. Which of the following is an example of a task that can be carried out as part of the test process?

Select ONE option.

4 / 40

4. Which of the following BEST explains a benefit of independent testing?

Select ONE option.

5 / 40

5. Which one of the following is TRUE?

Select ONE option.

6 / 40

6. Which one of the following options is categorized as a black-box test technique?

Select ONE option

7 / 40

7. How can white-box testing be applied during user acceptance testing?

Select ONE option.

8 / 40

8. An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment:

• Less than or equal to 2 years
• More than 2 years but less than 5 years
• 5 to 10 years inclusively
• Longer than 10 years

What is the minimum number of test cases required to cover all valid equivalence partitions for calculating the bonus?

Select ONE option.

9 / 40

9. You are testing an unattended gasoline pump that only accepts credit cards. Once the credit card is validated, the pump nozzle placed into the tank, and the desired grade selected, the customer enters the desired amount of fuel in gallons using the keypad. The keypad only allows the entry of digits. Fuel is sold in tenths (0.1) of a gallon, up to 50.0 gallons.

Which of the following is a minimum set of desired amounts that covers the equivalence partitions for this input?

Select ONE option.

10 / 40

10. Which of the following can affect and be part of the (initial) test planning?

Select ONE options.

11 / 40

11. Which one of the following is the description of statement coverage?

Select ONE option.

12 / 40

12. You are working as a tester on an online banking system. Availability is considered one of the top products (quality) risks for the system. You find a reproducible failure that results in customers losing their connections to the bank Web site when transferring funds between common types of accounts and being unable to reconnect for between three and five minutes.

Which of the following would be a good summary for a defect report for this failure, one that captures both the essence of the failure and its impact on stakeholders?

Select ONE option.

13 / 40

13. A speed control and reporting system has the following characteristics:

• If you drive 50 km/h or less, nothing will happen.
• If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned.
• If you drive faster than 55 km/h but not more than 60 km/h, you will be fined.
• If you drive faster than 60 km/h, your driving license will be suspended.
• The speed in km/h is available to the system as an integer value.

Which would be the most likely set of values (km/h) identified by applying the boundary value analysis, where only the values on the boundaries of the equivalence classes are selected?

Select ONE option.

14 / 40

14. Given the following test activities and tasks:

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

1. Entering change requests for open defect reports
2. Identifying test data to support the test cases
3. Prioritizing test procedures and creating test data
4. Analyzing discrepancies to determine their cause

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

Select ONE option.

15 / 40

15. What is quality?

Select ONE option.

16 / 40

16. Which of the following provides the definition of the term test case?

Select ONE option.

17 / 40

17. Which statement about the relationship between statement coverage and decision coverage is true?

Select ONE option.

18 / 40

18. Which of the following statements about static testing are MOST true?

Select ONE options.

19 / 40

19. Which of the following statements CORRECTLY reflects the value of static testing?

Select ONE option.

20 / 40

20. You are testing a mobile app 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 (smaller number is high priority), and dependencies, in the following format:

Which of the following is a possible test execution schedule that considers both priorities and dependencies?

Select ONE option.

21 / 40

21. Which of the following statements about the given state transition diagram and table of test cases is TRUE?

Select ONE option.

22 / 40

22. Which of the following metrics would be MOST useful to monitor during test execution?

Select ONE option.

23 / 40

23. You are testing a new version of software for a coffee machine. The machine can prepare different types of coffee based on four categories. i.e., coffee size, sugar, milk, and syrup. The criteria are as follows:

• Coffee size (small, medium, large)
• Sugar (none, 1 unit, 2 units, 3 units, 4 units)
• Milk (yes or no)
• Coffee flavor syrup (no syrup, caramel, hazelnut, vanilla)

Now you are writing a defect report with the following information:

• Title: Low coffee temperature.
• Short summary: When you select coffee with milk, the time for preparing coffee is too long and the temperature of the beverage is too low (less than 40 °C).
• Expected result: The temperature of coffee should be standard (about 75 °C).
• Degree of risk: Medium
• Priority: Normal

What valuable information was omitted in the above defect report?

Select ONE option.

24 / 40

24. Given the following state model of a battery charger software:

Which of the following sequences of transitions provides the highest level of transition coverage for the model?

Select ONE option.

25 / 40

25. Which of the following statements correctly describes the difference between testing and debugging?

Select ONE option.

26 / 40

26. Which of the following BEST describes how value is added by maintaining traceability between the test basis and test artifacts?

Select ONE option.

27 / 40

27. In what way can testing be part of Quality Assurance?

Select ONE option.

28 / 40

28. You are working as a tester on an Agile team and have participated in over two dozen user story refinement sessions with the product owner and the developers on the team at the start of each iteration. As the reviews have gotten more effective at detecting defects in user stories and the product owner more proficient at correcting those defects, you and the team notice that the team’s velocity, as shown in your burndown charts, has started to increase. Which of the following is a benefit of static testing that is MOST DIRECTLY related to the team’s increased velocity?

Select ONE option.

29 / 40

29. Which of the following statements BEST describes how test cases are derived from a use case?

Select ONE option.

30 / 40

30. Which of the following statements is a valid objective for testing?

Select ONE option.

31 / 40

31. Which of the following provides the BEST description of exploratory testing?

Select ONE option.

32 / 40

32. Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization?

Select ONE option.

33 / 40

33. Which of the following activities is part of the main activity "test analysis" in the test process?

Select ONE option.

34 / 40

34. Which of the following is a common test metric often used to monitor BOTH test preparation and test execution?

Select ONE option.

35 / 40

35. A batch application has been in production unchanged for over two years. It runs overnight once a month to produce statements that will be e-mailed to customers. For each customer, the application goes through every account and lists every transaction on that account in the last month. It uses a nested-loop structure to process customers (outer loop), each customer’s accounts (middle loop), and each account’s transactions (inner loop).

One night, the batch application terminates prematurely, failing to e-mail statements to some customers, when it encounters a customer with one account for which no transactions occurred in the last month. This is a very unusual situation and has not occurred in the years since this application was placed in production.

While fixing the defect, a programmer asks you to recommend test techniques that are effective against this kind of defect. Which of the following test techniques would most likely have been able to detect the underlying defect?

Select ONE option.

36 / 40

36. During a project following Agile methods, you find a discrepancy between the developer’s interpretation of an acceptance criteria and the product owner’s interpretation, which you bring up during a user story refinement session. Which of the following is a benefit of test independence exemplified by this situation?

Select ONE option.

37 / 40

37. Which one of the following is MOST likely to be a benefit of test execution tools?

Select ONE option.

38 / 40

38. Which one of the following answers describes a test condition?

Select ONE option.

39 / 40

39. A smart home app measures the average temperature in the house over the previous week and provides feedback to the occupants on their environmental friendliness based on this temperature.

The feedback for different average temperature ranges (to the nearest °C) should be:

Up to 10°C - Icy Cool!
11°C to 15°C - Chilled Out!
16°C to 19°C - Cool Man!
20°C to 22°C - Too Warm!
Above 22°C - Hot & Sweaty!

Using BVA (only Min- and Max values), which of the following sets of test inputs provides the highest level of boundary coverage?

Select ONE option.

40 / 40

40. Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel:

Suppose that there are two equivalence partitions for the condition where “Account/password okay” is not true, one where the account is invalid and another where the account is valid, but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where “Account/password okay” is true, where both the account and password are valid.

If you want to design tests to cover the equivalence partitions for “Account/password okay” and also for this portion of the decision table, what is the minimum number of tests required?

Select ONE option.

0%

Scroll to top