ISTQB Learning

Test your knowledge

0%
3
Created on By Admin

2018v3.1 - Exam 4 - 75 minutes

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 descriptions of decision coverage is CORRECT?

Select ONE option.

3 / 40

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

4 / 40

4. Programmers often write and execute unit tests against code which they have written. During this self-testing activity, which of the following is a tester mindset that programmers should adopt to perform this unit testing effectively?

Select ONE option.

5 / 40

5. Which of the following options are roles in a formal review?

Select ONE option.

6 / 40

6. Which of the following provides the BEST description of exploratory testing?

Select ONE option.

7 / 40

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

8 / 40

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

9 / 40

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

10 / 40

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

11 / 40

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

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

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

14 / 40

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

15 / 40

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

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option

18 / 40

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

Select ONE option.

19 / 40

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

20 / 40

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

Select ONE option.

21 / 40

21. Which of the following statements is true?

Select ONE option.

22 / 40

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

23 / 40

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

24 / 40

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

Select ONE option.

25 / 40

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

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

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

28 / 40

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

29 / 40

29. Which of the following BEST defines risk level?

Select ONE option.

30 / 40

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

Select ONE option.

31 / 40

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

32 / 40

32. Match the following test work products (1-4) with the right description (A-D).

1. Test suite
2. Test case
3. Test script
4. Test charter

A. A set of test scripts to be executed in a specific test run
B. A set of instructions for the execution of a test
C. Contains expected results
D. Documentation of test activities in session-based exploratory testing

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

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

35 / 40

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

36 / 40

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

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

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

Select ONE option.

40 / 40

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

Select ONE options.

0%

Scroll to top