ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

2 / 40

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

Select ONE option.

3 / 40

3. Consider the following testing activities:

1. Selecting regression tests
2. Evaluating completeness of test execution
3. Identifying which user stories have open defect reports
4. Evaluating whether the number of tests for each requirement is consistent with the level of product risk

Consider the following ways traceability can help testing:

A. Improve understandability of test status reports to include status of test basis items
B. Make testing auditable
C. Provide information to assess process quality
D. Analyze the impact of changes

Which of the following best matches the testing activity with how traceability can assist that activity?

Select ONE option.

4 / 40

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

5 / 40

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

6 / 40

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

7 / 40

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

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

10. Which one of the following is TRUE?

Select ONE option.

11 / 40

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

12 / 40

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

13 / 40

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

Select ONE option.

14 / 40

14. The reviews being used in your organization have the following attributes:

• There is a role of a scribe
• The purpose is to detect potential defects
• The review meeting is led by the author
• Reviewers find potential defects by individual review
• A review report is produced

Which of the following review types is MOST likely being used?

Select ONE option.

15 / 40

15. Which one of the following is the BEST definition of an incremental development model?

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

Select ONE option.

19 / 40

19. You are defining the process for carrying out product risk analysis as part of each iteration on an Agile project. Which of the following is the proper place to document this process in a test plan?

Select ONE option.

20 / 40

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

Select ONE option.

21 / 40

21. Which of the following BEST describes the concept behind error guessing?

Select ONE option.

22 / 40

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

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

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

25 / 40

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

Select ONE option.

26 / 40

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

27 / 40

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

28 / 40

28. Given that the testing being performed has the following attributes:

• Based on interface specifications
• Focused on finding failures in communication
• The test approach uses both functional and structural test types

Which of the following test levels is MOST likely being performed?

Select ONE option.

29 / 40

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

Select ONE option.

30 / 40

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

Select ONE option.

31 / 40

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

32 / 40

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

33 / 40

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

34 / 40

34. What is quality?

Select ONE option.

35 / 40

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

36 / 40

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

37 / 40

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

38 / 40

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

39 / 40

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

40 / 40

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

0%

Scroll to top