ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

Select ONE option.

2 / 40

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

3 / 40

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

4 / 40

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

5 / 40

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

6 / 40

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

7 / 40

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

Select ONE option.

8 / 40

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

9 / 40

9. Consider a mobile app that allows customers to access and manage their bank accounts. A user story has just been added to the set of features that checks customers’ social media accounts and bank records to give personalized greetings on birthdays and other personal milestones. Which of the following test techniques could a PROGRAMMER use during a unit test of the code to ensure that coverage of situations when the greetings ARE supposed to occur and when the greetings ARE NOT supposed to occur?

Select ONE option.

10 / 40

10. As a test manager you are responsible for testing the following parts of requirements:

• R1 - Process anomalies
• R2 - Synchronization
• R3 - Approval
• R4 - Problem solving
• R5 - Financial data
• R6 - Diagram data
• R7 - Changes to the user profile

Notation: Logical requirement dependencies (A -> B means, that B depends on A):

Which one of the following options structures the test execution schedule according to the requirement dependencies?

Select ONE option.

11 / 40

11. Which of the following BEST matches the descriptions with the different categories of test techniques?

1. Coverage is measured based on a selected structure of the test object
2. The processing within the test object is checked
3. Tests are based on defects’ likelihood and their distribution
4. Deviations from the requirements are checked
5. User stories are used as the test basis

Using notation for the following 4 options:

Black - Black-box test techniques
White - White-box test techniques
Experience - Experience-based test techniques

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

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

18 / 40

18. A fitness app measures the number of steps that are walked each day and provides feedback to encourage the user to keep fit.

The feedback for different numbers of steps should be:

Up to 1000 - Couch Potato!
Above 1000, up to 2000 - Lazy Bones!
Above 2000, up to 4000 - Getting There!
Above 4000, up to 6000 - Not Bad!
Above 6000 - Way to Go!

Which of the following sets of test inputs would achieve the BEST equivalence partition coverage?

Select ONE option.

19 / 40

19. Which one of the following is NOT included in a test summary report?

Select ONE option.

20 / 40

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

Select ONE option.

21 / 40

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

22 / 40

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

23 / 40

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

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

26 / 40

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

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

28. Which of the following statements BEST compares the purposes of confirmation testing and regression testing?

Select ONE option.

29 / 40

29. Which one of the following is the characteristic of a metrics-based approach for test estimation?

Select ONE option.

30 / 40

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

31 / 40

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

32 / 40

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

33 / 40

33. 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 units’ field is 0.1 units.

Which of the following is a MINIMAL set of input values that cover the equivalence partitions for this field?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

35. Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving test conditions and associated test cases from the user story as a way of applying the principle of early QA and test. What test technique are you applying?

Select ONE option.

36 / 40

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

37 / 40

37. Which activities are carried out within the planning of a formal review?

Select ONE option.

38 / 40

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

Select ONE option.

39 / 40

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

40 / 40

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

0%

Scroll to top