ISTQB Learning

Test your knowledge

0%
3
Created on By Admin

2018v3.1 - Exam 4 - 75 minutes

1 / 40

1. You are working as a project manager on an in-house banking software project. To prevent rework and excessive find/fix/retest cycles, the following process has been put in place for resolving a defect once it is found in the test lab:

1. The assigned developer finds and fixes the defect, then creates an experimental build
2. A peer developer reviews, unit tests, and confirmation tests the defect fix on his/her desktop
3. A tester – usually the one who found the defect – confirmation tests the defect fix in the development environment
4. Once a day, a new release with all confirmed defect fixes included, is installed in the test environment
5. The same tester from step 3 confirmation tests the defect fix in the test environment

Nevertheless, a large number of defects which the testers confirmed as fixed in the development environment (in step 3) are somehow failing confirmation testing in the test environment, with the resulting rework and cycle time outcomes. You have the highest confidence in your testers and have ruled out mistakes or omissions in step 3.

Which of the following is the MOST likely part of the process to check next?

Select ONE option.

2 / 40

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

3 / 40

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

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. Consider the following types of defects that a test level might focus on:

a) Defects in separately testable modules or objects
b) Not focused on identifying defects
c) Defects in interfaces and interactions
d) Defects in the whole test object

Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above?

Select ONE option.

6 / 40

6. Which of the following lists contains only typical exit criteria from testing?

Select ONE option.

7 / 40

7. You are reading a user story in the product backlog to prepare for a meeting with the product owner and a developer, noting potential defects as you go. Which of the following statements is true about this activity?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

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

11 / 40

11. Which of the following tools is most useful for reporting test metrics?

Select ONE option.

12 / 40

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

13 / 40

13. Which of the following statements is true?

Select ONE option.

14 / 40

14. A company's employees are paid bonuses if they work more than a year in the company and achieve a target which is individually agreed before.

These facts can be shown in a decision table:

Which of the following test cases represents a situation that can happen in real life, and is missing in the above decision table?

Select ONE option.

15 / 40

15. You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the unit’s field is 0.1 units.

Which of the following is a set of input values that cover the boundary values with two-point boundary values for this field?

Select ONE option.

16 / 40

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

17 / 40

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

18 / 40

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

Select ONE option.

19 / 40

19. Which of the following statements about test estimation approaches is CORRECT?

Select ONE option.

20 / 40

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

21 / 40

21. What is decision coverage?

Select ONE option.

22 / 40

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

23 / 40

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

Select ONE option.

24 / 40

24. A phone ringing momentarily distracts a programmer, causing the programmer 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. The improperly coded logic for the upper boundary check is:

Select ONE option.

25 / 40

25. For which of the following situations is exploratory testing suitable?

Select ONE option.

26 / 40

26. Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a developer’s?

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

29 / 40

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

30 / 40

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

Select ONE options.

31 / 40

31. Which of the following is a true statement about exploratory testing?

Select ONE option.

32 / 40

32. Which of the following should NOT be a trigger for maintenance testing?

Select ONE option.

33 / 40

33. You have been asked to take part in a checklist-based review of the following excerpt from the requirements specification for a library system:

Librarians can:

1. Register new borrowers
2. Return books from borrowers
3. Accept fines from borrowers
4. Add new books to the system with their ISBN, author and title
5. Remove books from the system
6. Get system responses within 5 seconds

Borrowers can:

7. Borrow a maximum of 3 books at one time
8. View the history of books they have borrowed/reserved
9. Be fined for failing to return a book within 3 weeks
10. Get system responses within 3 seconds
11. Borrow a book at no cost for a maximum of 4 weeks
12. Reserve books (if they are on-loan)

All users (librarians and borrowers):

13. Can search for books by ISBN, author, or title
14. Can browse the system catalogue
15. The system shall respond to user requests within 3 seconds
16. The user interface shall be easy-to-use

You have been assigned the checklist entry that requires you to review the specification for inconsistencies between individual requirements (i.e., conflicts between requirements).

Which of the following CORRECTLY identifies inconsistencies between pairs of requirements?

Select ONE option.

34 / 40

34. A product owner says that your role as a tester on an Agile team is to catch all the bugs before the end of each iteration. Which of the following is a testing principle that could be used to respond to this (false) statement?

Select ONE option.

35 / 40

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

36 / 40

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

37 / 40

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

38 / 40

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

39 / 40

39. Which one of the statements below describes the most common situation for a failure discovered during testing or in production?

Select ONE option.

40 / 40

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

Select ONE option.

0%

Scroll to top