ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

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

4 / 40

4. What is checklist-based testing?

Select ONE option.

5 / 40

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

Select ONE option.

6 / 40

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

7 / 40

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

8 / 40

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

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

10. Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization?

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

12. You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system. Which of the following statements describes this test?

Select ONE option.

13 / 40

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

Select ONE option.

14 / 40

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

15 / 40

15. You are working as a tester on an online banking system. Availability is considered one of the top products (quality) risks for the system. You find a reproducible failure that results in customers losing their connections to the bank Web site when transferring funds between common types of accounts and being unable to reconnect for between three and five minutes.

Which of the following would be a good summary for a defect report for this failure, one that captures both the essence of the failure and its impact on stakeholders?

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

19 / 40

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

20 / 40

20. During a period of intensive project overtime, a system architecture document is sent to various project participants, announcing a previously unplanned technical review to occur in one week. No adjustments are made to the participants’ list of assigned tasks. Based on this information alone, which of the following is a factor for review success that is MISSING?

Select ONE option.

21 / 40

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

22 / 40

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

23 / 40

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

24 / 40

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

25 / 40

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

26 / 40

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

Select ONE option.

27 / 40

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

Select ONE options.

28 / 40

28. Which of the following is a defect rather than a root cause in a fitness tracker?

Select ONE option.

29 / 40

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

30 / 40

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

Select ONE option.

31 / 40

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

Select ONE option.

32 / 40

32. Which of the following statements about the given state transition diagram and table of test cases is TRUE?

Select ONE option.

33 / 40

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

34 / 40

34. What is quality?

Select ONE option.

35 / 40

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

36 / 40

36. Which of the following statements CORRECTLY reflects the value of static testing?

Select ONE option.

37 / 40

37. You are performing system testing of a train reservation system. Based on the test cases performed, you have noticed that the system occasionally reports that no trains are available, although this should be the case. You have provided the developers with a summary of the defect and the version of the tested system. They recognize the urgency of the defect and are now waiting for you to provide further details.

In addition to the information already provided, the following additional information is given:

1. Degree of impact (severity) of the defect
2. Identification of the test object
3. Details of the test environment
4. Urgency/priority to fix
5. Actual results
6. Reference to test case specification

Which of this additional information is most useful to include in the defect report?

Select ONE option.

38 / 40

38. Which of the following is LEAST likely to be an example of product risk analysis CORRECTLY influencing the testing?

Select ONE option.

39 / 40

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

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