ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

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

Select ONE option.

2 / 40

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

Select ONE option.

3 / 40

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

Select ONE option.

4 / 40

4. Which of the following is NOT a valid purpose for a test report?

Select ONE options.

5 / 40

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

6 / 40

6. Decide which of the following statements (i-v) are true for static testing.

i. Abnormal external behaviors are easier to identify with this testing
ii. Discrepancies from a coding standard are easier to find with this testing
iii. It identifies failures caused by defects when the software is run
iv. Its test objective is to identify defects as early as possible
v. Missing coverage for critical security requirements is easier to find and fix

Select ONE option.

7 / 40

7. For a given risk, its risk level is $1,000 and its risk likelihood is estimated as 50%.

What is the risk impact?

Select ONE options.

8 / 40

8. Which of the following pieces of information contained in a test progress report is the LEAST useful for business representatives?

Select ONE option.

9 / 40

9. Why does white-box testing facilitate defect detection even when the software specification is vague, outdated or incomplete?

Select ONE option.

10 / 40

10. Your team follows the process that uses the DevOps delivery pipeline. The first three steps of this process are:

(1) Code development
(2) Submit code into a version control system and merge it into the “test” branch
(3) Perform component testing for the submitted code

Which of the following is BEST suited to be the entry criterion for step (2) of this pipeline?

Select ONE option.

11 / 40

11. High-level test conditions are being used by testers to generate test cases and execute tests. Even though the test conditions remain the same, the test cases are varied each time. Which of the following ‘principles of testing’ is being addressed through the variation of test cases?

Select ONE option.

12 / 40

12. A wine storage system uses a control device that measures the wine cell temperature T (measured in °C, rounded to the nearest degree) and alarms the user if it deviates from the optimal value of 12, according to the following rules:

• if T = 12, the system says, “optimal temperature”

• if T < 12, the system says, “temperature is too low!”

• if T > 12, the system says, “temperature is too high!”

You want to use the 3-point boundary value analysis (BVA) to verify the behavior of the control device. A test input is a temperature in °C provided by the device.

What is the MINIMAL set of test inputs that achieves 100% of the desired coverage?

Select ONE option.

13 / 40

13. Customers of the TestWash car wash chain have cards with a record of the number of washes they have bought so far. The initial value is 0. After entering the car wash, the system increases the number on the card by one. This value represents the number of the current wash. Based on this number the system decides what discount the customer is entitled to.

For every tenth wash the system gives a 10% discount, and for every twentieth wash, the system gives a further 40% discount (i.e., a 50% discount in total).

Which of the following sets of input data (understood as the numbers of the current wash) achieves the highest equivalence partition coverage?

Select ONE option.

14 / 40

14. You need to update one of the automated test scripts to be in line with a new requirement. Which process indicates that you create a new version of the test script in the test repository?

Select ONE option.

15 / 40

15. Which of the following is NOT an example of the shift left approach?

Select ONE option.

16 / 40

16. Which of the following BEST describes how using checklist-based testing can result in increased coverage?

Select ONE option.

17 / 40

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

18 / 40

18. The table shows the traceability matrix from test cases to requirements. “X” means that a given test case covers the corresponding requirement.

You want to prioritize the test cases following the additional coverage prioritization technique.

You execute all four test cases.

Which test case should be executed as the LAST one?

Select ONE options.

19 / 40

19. Which of the following statements about the chosen software development lifecycle is CORRECT?

Select ONE option.

20 / 40

20. Which of the following is a characteristic of experience-based test techniques?

Select ONE option.

21 / 40

21. W A developer was asked to implement the following business rule:

You design the test cases using 2-value boundary value analysis.

Which of the following sets of test inputs achieves the greatest coverage?

Select ONE option.

22 / 40

22. Which of the following statements is a CORRECT example of the value of traceability?

Select ONE option.

23 / 40

23. Which of the following statements about branch testing is CORRECT?

Select ONE option.

24 / 40

24. Which of the following is MOST likely to be an example of a tester using a generic skill when testing?

Select ONE option.

25 / 40

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

26 / 40

26. Consider the following acceptance criteria for a user story written from the perspective of an online store owner.

Given that the user is logged in and on the homepage,
When the user clicks on the "Add Item" button,
Then the "Create Item" form should appear,
And the user should be able to input a name and price for the new item.

In what format is this acceptance criteria written?

Select ONE option.

27 / 40

27. Which of the following BEST fits as an element of the checklist used in checklist-based testing?

Select ONE option.

28 / 40

28. Given the following example defects:

i. Two different parts of the design specification disagree due to the complexity of the design
ii. A response time is too long and so makes users lose patience
iii. A path in the code cannot be reached during execution
iv. A variable is declared but never subsequently used in the program
v. The amount of memory needed by the program to generate a report is too high

Which of the following BEST identifies example defects that could be found by static testing (rather than dynamic testing)?

Select ONE option.

29 / 40

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

Select ONE option.

30 / 40

30. Which of the following statements BEST describes the acceptance test-driven development (ATDD) approach?

Select ONE option.

31 / 40

31. You are a member of a test team located in North America, developing a product for a client located in Europe. The team is agile and follows the DevOps approach and uses a continuous integration/continuous delivery pipeline.

Which of the following is the LEAST effective way to communicate test progress to the customer?

Select ONE option.

32 / 40

32. Your test suite S for a program P achieves 100% statement coverage. It consists of three test cases, each of which achieves 50% statement coverage.

Which of the following statements is CORRECT?

Select ONE option.

33 / 40

33. Which of the following statements about quality assurance (QA) and/or quality control (QC) is correct?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

36. Which of the following are advantages of DevOps?

i. Faster product release and faster time to market
ii. Increases the need for repetitive manual testing
iii. Constant availability of executable software
iv. Reduction in the number of regression tests associated with code refactoring
v. Setting up the test automation framework is inexpensive since everything is automated

Select ONE option.

37 / 40

37. Which of the following statements about the value of static testing is CORRECT?

Select ONE option.

38 / 40

38. Which of the following provides the BEST example of a scenario-oriented acceptance criterion?

Select ONE option.

39 / 40

39. Which of these statements is NOT a factor that contributes to successful reviews?

Select ONE option.

40 / 40

40. Which TWO of the following options are the exit criteria for testing a system?

Select TWO options.

0%

Scroll to top