ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

2 / 40

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

3 / 40

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

Select ONE option.

4 / 40

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

5 / 40

5. You are working on a video game development project, using Agile methods. It is based on Greek mythology and history, and players can play key roles in scenarios such as the battles between the Greeks and Trojans.

Consider the following user story and its associated acceptance criteria:

As a player,
I want to be able to acquire the Rod of Midas (a new magic object),
so that I can turn objects and other players into gold
AC1: The Rod must work on any object or player, no matter what size, which can be touched anywhere by the player holding the Rod
AC2: Holding the Rod does not change the player holding it into gold
AC3: Any object or player touched by the Rod transforms completely into gold within one millisecond
AC4: The Rod appears as shown in Prototype O.W.RoM
AC5: The transformation starts at the point of contact with the Rod and moves at a rate of one meter per millisecond

You are participating in a checklist-based review session of this user story.

This user story and its associated acceptance criteria contain which of the following typical defects identified by static testing in this type of work product?

Select ONE option.

6 / 40

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

7 / 40

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

Select ONE option.

8 / 40

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

Select ONE options.

9 / 40

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

10 / 40

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

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

13 / 40

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

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

19 / 40

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

20 / 40

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

21 / 40

21. Which one of the following test tools is mostly suitable for developers rather than testers?

Select ONE option.

22 / 40

22. Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules R1 and R4, which are shown below:

Given the following additional test cases:

Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules R1 and R4)?

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

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

25 / 40

25. In a formal review, what is the role name for the participant who runs an inspection meeting?

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

27. Consider the following list of undesirable outcomes that could occur on a mobile app development effort:

A. Incorrect totals on screens
B. Change to acceptance criteria during acceptance testing
C. Users find the soft keyboard too hard to use with your app
D. System responds too slowly to user input during search string entry
E. Testers not allowed to report test results in daily standup meetings

Which of the following properly classifies these outcomes as project and product risks?

Select ONE option.

28 / 40

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

29 / 40

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

30 / 40

30. Mr. Test has been testing software applications on mobile devices for a period of 5 years. He has a wealth of experience in testing mobile applications and achieves better results in a shorter time than others. Over several months, Mr. Test did not modify the existing automated test cases and did not create any new test cases. This leads to fewer and fewer defects being found by executing the tests. What principle of testing did Mr. Test not observe?

Select ONE option.

31 / 40

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

32 / 40

32. A mass market operating system software product is designed to run on any PC hardware with an x86-family processor. You are running a set of tests to look for defects related to support of the various PCs that use such a processor and to build confidence that important PC brands will work. What type of test are you performing?

Select ONE option.

33 / 40

33. Given the following statements about the relationships between software development activities and test activities in the software development lifecycle:

1. Each development activity should have a corresponding testing activity
2. Reviewing should start as soon as final versions of documents become available
3. The design and implementation of tests should start during the corresponding development activity
4. Testing activities should start in the early stages of the software development lifecycle

Which of the following CORRECTLY shows which are true and false?

Select ONE option.

34 / 40

34. You are testing a mobile app that allows customers to access and manage their bank accounts. You are running a test suite that involves evaluating each screen and each field on each screen against a general list of user interface best practices, derived from a popular book on the topic, that maximize attractiveness, ease-of-use, and accessibility for such apps. Which of the following options BEST categorizes the test technique you are using?

Select ONE option.

35 / 40

35. Which of the following descriptions of decision coverage is CORRECT?

Select ONE option.

36 / 40

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

Select ONE option.

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

39. Which of the following statements on the use of checklists in a formal review is CORRECT?

Select ONE option.

40 / 40

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

Select ONE option.

0%

Scroll to top