ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

2 / 40

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

3 / 40

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

Select ONE option.

4 / 40

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

5 / 40

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

Select ONE option

6 / 40

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

7 / 40

7. Which of the following tasks is MOST LIKELY to be performed by the test manager?

Select ONE option.

8 / 40

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

9 / 40

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

Select ONE option.

10 / 40

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

11 / 40

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

Select ONE option.

12 / 40

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

13 / 40

13. What is checklist-based testing?

Select ONE option.

14 / 40

14. Which of the following BEST defines risk level?

Select ONE option.

15 / 40

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

Select ONE option.

16 / 40

16. Which of the following is an example of a failure in a car cruise control system?

Select ONE option.

17 / 40

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

18 / 40

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

Select ONE option.

19 / 40

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

20 / 40

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

21 / 40

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

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

24 / 40

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

25 / 40

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

Select ONE option.

26 / 40

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

27 / 40

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

28 / 40

28. Which of the following are two factors that can be used to determine the level of risk?

Select ONE option.

29 / 40

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

30 / 40

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

31 / 40

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

Select ONE option.

32 / 40

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

33 / 40

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

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. Which of the following is MOST likely to be an example of a PRODUCT risk?

Select ONE option.

36 / 40

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

37 / 40

37. You will be invited to a review. The work product to be reviewed is a description of the in-house document creation process. The aim of the description is to present the work distribution between the different roles involved in the process in a way that can be clearly understood by everyone.

You will be invited to a checklist-based review. The checklist will also be sent to you. It includes the following points:

i. Is the person who performs the activity clearly identified for each activity?
ii. Are the entry criteria clearly defined for each activity?
iii. Are the exit criteria clearly defined for each activity?
iv. Are the supporting roles and their scope of work clearly defined for each activity?

In the following we show an excerpt of the work result to be reviewed, for which you should use the checklist above:

"After checking the customer documentation for completeness and correctness, the software architect creates the system specification. Once the software architect has completed the system specification, he invites testers and verifiers to the review. A checklist describes the scope of the review. Each invited reviewer creates review comments - if necessary - and concludes the review with an official review done-comment."

Which of the following statements about your review is correct?

Select ONE option.

38 / 40

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

Select ONE option.

39 / 40

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

Select ONE option.

40 / 40

40. Given the following examples of entry and exit criteria:

1. The original testing budget of $30,000 plus contingency of $7,000 has been spent
2. 96% of planned tests for the drawing package have been executed and the remaining tests are now out of scope
3. The trading performance test environment has been designed, set-up and verified
4. Current status is no outstanding critical defects and two high-priority ones
5. The autopilot design specifications have been reviewed and reworked
6. The tax rate calculation component has passed unit testing.

Which of the following BEST categorizes them as entry and exit criteria:

Select ONE option.

0%

Scroll to top