ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

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

2 / 40

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

Select ONE option.

3 / 40

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

Select ONE option.

4 / 40

4. Which of the following BEST defines risk level?

Select ONE option.

5 / 40

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

6 / 40

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

7 / 40

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

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

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

11 / 40

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

12 / 40

12. Which one of the following is TRUE?

Select ONE option.

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

Select ONE option.

17 / 40

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

18 / 40

18. Which of the following is a true statement about exploratory testing?

Select ONE option.

19 / 40

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

Select ONE options.

20 / 40

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

21 / 40

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

Select ONE option.

22 / 40

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

Select ONE option.

23 / 40

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

24 / 40

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

25 / 40

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

26 / 40

26. How can white-box testing be applied during user acceptance testing?

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

29 / 40

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

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

32 / 40

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

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

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

37 / 40

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

38 / 40

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

39 / 40

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

40 / 40

40. What is quality?

Select ONE option.

0%

Scroll to top