ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

1. Match the following test work products (1-4) with the right description (A-D).

1. Test suite
2. Test case
3. Test script
4. Test charter

A. A set of test scripts to be executed in a specific test run
B. A set of instructions for the execution of a test
C. Contains expected results
D. Documentation of test activities in session-based exploratory testing

Select ONE option.

2 / 40

2. What is decision coverage?

Select ONE option.

3 / 40

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

4 / 40

4. Which of the review types below is the BEST option to choose when the review must follow a formal process based on rules and checklists?

Select ONE option.

5 / 40

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

6 / 40

6. What is checklist-based testing?

Select ONE option.

7 / 40

7. During a period of intensive project overtime, a system architecture document is sent to various project participants, announcing a previously unplanned technical review to occur in one week. No adjustments are made to the participants’ list of assigned tasks. Based on this information alone, which of the following is a factor for review success that is MISSING?

Select ONE option.

8 / 40

8. You are engaged in planning a test effort for a new mobile banking application. As part of estimation, you first meet with the proposed testers and others on the project. The team is well-coordinated and has already worked on similar projects. To verify the resulting estimate, you then refer to some industry averages for testing effort and costs on similar projects, published by a reputable consultant.

Which statement accurately describes your estimation approach?

Select ONE option.

9 / 40

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

10 / 40

10. The following statement refers to decision coverage:

“When the code contains only a single ‘if’ statement and no loops or CASE statements, and its execution is not nested within the test, any single test case we run will result in 50% decision coverage.”

Which of the following statement is correct?

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

13 / 40

13. A daily radiation recorder for plants produces a sunshine score based on a combination of the number of hours a plant is exposed to the sun (below 3 hours, 3 to 6 hours or above 6 hours) and the average intensity of the sunshine (very low, low, medium, high).

Given the following test cases:

What is the minimum number of additional test cases that are needed to ensure full coverage of ALL VALID INPUT equivalence partitions?

Select ONE option.

14 / 40

14. Which of the following statements comparing component testing and system testing is TRUE?

Select ONE option.

15 / 40

15. Which of the following statements about test types and test levels is CORRECT?

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

Select ONE option.

19 / 40

19. A tester participated in a discussion about proposed database structure. The tester identified a potential performance problem related to certain common user searches. This possible problem was explained to the development team. Which of the following is a testing contribution to success that BEST matches this situation?

Select ONE option.

20 / 40

20. A video application has the following requirement: The application shall allow playing a video on the following display resolution:

1. 640x480
2. 1280x720
3. 1600x1200
4. 1920x1080

Which of the following list of test cases is a result of applying the equivalence partitioning test technique to test this requirement?

Select ONE option.

21 / 40

21. Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance Testing?

Select ONE option.

22 / 40

22. During an Agile development effort, a product owner discovers a previously unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run?

Select ONE option.

23 / 40

23. Which of the following descriptions of statement coverage is CORRECT?

Select ONE option.

24 / 40

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

Select ONE option.

25 / 40

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

26 / 40

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

27 / 40

27. The project develops a "smart" heating thermostat. The control algorithms of the thermostat were modeled as Matlab/Simulink models and run on the internet connected server. The thermostat uses the specifications of the server to trigger the heating valves.

The test manager has defined the following test strategy/approach in the test plan:

1. The acceptance test for the whole system is executed as an experience-based test.
2. The control algorithms on the server are checked against standard of the energy saving regulation.
3. The functional test of the thermostat is performed as risk-based testing.
4. The security tests of data / communication via the internet are executed together with external security experts.

What four common types of test strategies/approaches did the test manager implement in the test plan?

Select ONE option.

28 / 40

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

29 / 40

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

Select ONE option

30 / 40

30. Consider the following state transition diagram for a credit-card only, unattended gasoline pump:

Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need?

Select ONE option.

31 / 40

31. Which of the following statements BEST describes how tasks are divided between the test manager and the tester?

Select ONE option.

32 / 40

32. Which of the following BEST defines risk level?

Select ONE option.

33 / 40

33. Which of the following CORRECTLY matches the roles and responsibilities in a formal review?

34 / 40

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

35 / 40

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

36 / 40

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

37 / 40

37. As a result of risk analysis, more testing is being directed to those areas of the system under test where initial testing found more defects than average.

Which of the following testing principles is being applied?

Select ONE option.

38 / 40

38. Which of the following is MOST likely to be an example of a PRODUCT risk?

Select ONE option.

39 / 40

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

Select ONE option.

40 / 40

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

Select ONE option.

0%

Scroll to top