ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

1. You are using acceptance test-driven development and designing test cases based on the following user story:

Which test case is the MOST reasonable one to test AC3?

Select ONE option.

2 / 40

2. What is the relationship between the testing quadrants, test levels and test types?

Select ONE option.

3 / 40

3. Which of the following is a factor that contributes to a successful review?

Select ONE option.

4 / 40

4. Which of the following statements describe a valid test objective?

Select ONE option.

5 / 40

5. Which of the following is an example of a test-first approach to development?

Select ONE option.

6 / 40

6. The system for selling cinema tickets calculates the discount type based on the client’s birth year (BY) and on the current year (CY) as follows:

 

Let D be the difference between CY and BY, that is, D = CY – BY

• If D < 0 then print the error message “birth year cannot be greater than current year”

• If 0 ≤ D < 18 then apply the student discount

• If 18 ≤ D < 65 then apply no discount • If D ≥ 65 then apply the pensioner discount

Your test suite already contains two test cases:

• BY = 1990, CY = 2020, expected result: no discount
• BY = 2030, CY = 2029, expected result: print the error message

Which of the following test data sets should be added to achieve full valid equivalence partitioning coverage for the discount type?

Select TWO options.

7 / 40

7. You are testing a system that calculates the final course grade for a given student.

The final grade is assigned based on the final result, according to the following rules:

• 0 – 50 points: failed
• 51 – 60 points: fair
• 61 – 70 points: satisfactory
• 71 – 80 points: good
• 81 – 90 points: very good
• 91 – 100 points: excellent

You have prepared the following set of test cases:

What is the 2-value Boundary Value Analysis (BVA) coverage for the final result that is achieved with the existing test cases?

Select ONE option.

8 / 40

8. What does the test pyramid model show?

Select ONE option.

9 / 40

9. Which of the following is an example of why testing is necessary?

Select ONE option.

10 / 40

10. Which of the following is MOST likely to be a benefit of test automation?

 

Select ONE option.

11 / 40

11. Which of the following is LEAST likely to occur as a result of a retrospective?

Select ONE option.

12 / 40

12. Your organization’s test strategy suggests that once a system is going to be retired, data migration shall be tested. As part of what test type is this testing MOST likely to be performed?

Select ONE option.

13 / 40

13. A phone ringing in a neighboring cubicle distracts a programmer causing him 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.

Which of the following correctly describes an incorrectly coded upper bound?

Select ONE option.

14 / 40

14. Which of the following statements about formal reviews is TRUE?

Select ONE option.

15 / 40

15. Which of the following BEST describe the collaborative approach to user story writing?

Select ONE option.

16 / 40

16. You are preparing a test execution schedule for executing seven test cases TC 1 to TC 7.

The following figure includes the priorities of these test cases (1=highest priority, 3 = lowest priority).

The figure also shows the dependencies between test cases using arrows. For instance, the arrow from TC 4 to TC 5 means that TC 5 can only be executed if TC 4 was previously executed.

Which test case should be executed sixth?

Select ONE option.

17 / 40

17. Which of the arguments below would you use to convince your manager to organize retrospectives at the end of each release cycle?

Select ONE option.

18 / 40

18. Which of the following BEST explains a benefit of independence of testing?

Select ONE option.

19 / 40

19. Which TWO of the following options are common metrics used for reporting on the quality level of the test object?

Select TWO options.

20 / 40

20. The ‘absence-of-defects fallacy’ is one of the principles of testing. Which of the following is an example of addressing this principle in practice?

Select ONE option.

21 / 40

21. Which types of failures (1-4) fit which test levels (A-D) BEST?

1. Failures in system behavior as it deviates from the user’s business needs
2. Failures in communication between components
3. Failures in logic in a module
4. Failures in not correctly implemented business rules

A. Component testing
B. Component integration testing
C. System testing
D. Acceptance testing

Select ONE option.

22 / 40

22. You are testing a form that verifies the correctness of the length of the password given as input. The form accepts a password with the correct length and rejects a password that is too short or too long. The password length is correct if it has between 6 and 12 characters inclusive. Otherwise, it is considered incorrect.

At first, the form is empty (password length = 0). You apply boundary value analysis to the “password length” variable.

Your set of test cases achieves 100% 2-value boundary value coverage. The team decided that due to the high risk of this component, test cases should be added to ensure 100% 3-value boundary value coverage.

Which additional password lengths should be tested to achieve this?

Select ONE option.

23 / 40

23. Which item correctly identifies a potential risk of performing test automation?

Select ONE option.

24 / 40

24. You run two test cases, T1 and T2, on the same code. Test T1 achieved 40% statement coverage and test T2 achieved 65% statement coverage.

Which of the following sentences must be necessarily true?

Select ONE option.

25 / 40

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

• There is the role of a scribe
• The main purpose is to evaluate quality
• The meeting is led by the author of the work product
• There is individual preparation
• A review report is produced

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

Select ONE option.

26 / 40

26. Which collaborative user story writing practice enables the team to achieve a collective understanding of what needs to be delivered?

Select ONE option.

27 / 40

27. You were given a task to analyze and fix causes of failures in a new system to be released.

Which activity are you performing?

Select ONE option.

28 / 40

28. Consider the following user story:

As an Editor
I want to review content before it is published
so that I can assure the grammar is correct

and its acceptance criteria:

• The user can log in to the content management system with "Editor" role
• The editor can view existing content pages
• The editor can edit the page content
• The editor can add markup comments
• The editor can save changes
• The editor can reassign to the "content owner" role to make updates

Which of the following is the BEST example of an ATDD test for this user story?

Select ONE option.

29 / 40

29. You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table.

What test data will show that there are contradictory rules in the decision table?

Select ONE option.

30 / 40

30. You work as a tester in a project on a mobile application for food ordering for one of your clients. The client sent you a list of requirements. One of them, with high priority, says

“The order must be processed in less than 10 seconds in 95% of the cases”.

You created a set of test cases in which a number of random orders were made, the processing time measured, and the test results were checked against the requirements.

What test type did you perform?

Select ONE option.

31 / 40

31. Which of the following statements is CORRECT?

Select ONE option.

32 / 40

32. Which of the following BEST describes the way acceptance criteria can be documented?

Select ONE option.

33 / 40

33. How can white-box testing be useful in support of black-box testing?

Select ONE option.

34 / 40

34. You are testing a user story with three acceptance criteria: AC1, AC2 and AC3. AC1 is covered by test case TC1, AC2 by TC2, and AC3 by TC3. The test execution history had three test runs on three consecutive versions of the software as follows:

Tests are repeated once you are informed that all defects found in the test run are corrected and a new version of the software is available.
Which of the above tests are executed as regression tests?

Select ONE option.

35 / 40

35. You work in a team that develops a mobile application for food ordering. In the current iteration the team decided to implement the payment functionality.

Which of the following activities is a part of test analysis?

Select ONE option.

36 / 40

36. Which participant in the review process is responsible for ensuring that the review meetings run effectively and that everyone at the meetings can voice their opinions freely?

Select ONE option.

37 / 40

37. You are testing a web application that allows users to SEARCH for products, VIEW product details, ADD products to a shopping cart, and place an ORDER.
You have prepared the following five test cases, which you want to execute according to their priorities:

TC1: SEARCH product A Priority: medium

TC2: VIEW product A details Priority: low

TC3: ADD product B to a shopping cart Priority: medium

TC4: ADD product C to a shopping cart Priority: high

TC5: place an ORDER Priority: high

You also identified the following logical dependencies between test cases:

• SEARCH functionality must be tested before VIEW functionality can be tested, as product details rely on search functionality.
• VIEW functionality must be tested before ADD functionality, as adding products relies on the availability of accurate product details.
• ADD functionality must be tested before ORDER functionality, as placing an order relies on the availability of accurate shopping cart information.

Which test case should be executed as the fourth one?

Select ONE option.

38 / 40

38. The team wants to estimate the time needed for one tester to execute four test cases for a software component. The team has gathered the following measures of the effort used to execute a single test case:

• Best-case scenario: 1 hour
• Worst-case scenario: 8 hours
• Most likely scenario: 3 hours

Given that the three-point estimation technique is being used, what is the final estimate of the time needed to execute all four test cases?

Select ONE option.

39 / 40

39. Consider the following defect report for a Book Lending System.

Which of the following is MOST likely to help the developer reproduce the failure quickly?

Select ONE options.

40 / 40

40. Which of the following is a good testing practice that applies to all software development lifecycles?

Select ONE option.

0%

Scroll to top