ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

1. Which of the following factors (i-v) have SIGNIFICANT influence on the test process?

i. The SDLC
ii. The number of defects detected in previous projects
iii. The identified product risks
iv. New regulatory requirements forcing formal white-box testing
v. The test environment setup

Select ONE option.

2 / 40

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

Select ONE option.

3 / 40

3. Which of the following tests is MOST likely to be performed as part of functional testing?

Select ONE option.

4 / 40

4. You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:

Variable: PIN code length

• The partition “length correct” - four-digit PINs
• The partition “length incorrect” - PINs with length other than 4

Variable: Number of different digits

• The partition “number of different digits correct” - PINs with at least two different digits
• The partition “number of different digits incorrect” - PINs with all digits being the same

Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?

Select ONE option.

5 / 40

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

6 / 40

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

7 / 40

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

Select ONE option.

8 / 40

8. You want to apply branch testing to the code represented by the following control flow graph.

How many coverage items do you need to test?

Select ONE option.

9 / 40

9. Which of the following is a typical test objective?

Select ONE option.

10 / 40

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

11 / 40

11. Which TWO of the following tasks belong MAINLY to a testing role?

Select TWO options.

12 / 40

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

Select ONE option.

13 / 40

13. What task may management take on during a formal review?

Select ONE option.

14 / 40

14. Which of the following CANNOT be examined by static testing?

Select ONE option.

15 / 40

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

Select ONE option.

16 / 40

16. Consider the following list:

• Correct input not accepted
• Incorrect input accepted
• Wrong output format
• Division by zero

What test technique is MOST PROBABLY used by the tester who uses this list when performing testing?

Select ONE option.

17 / 40

17. Your team uses the three-point estimation technique to estimate the test effort for a new high-risk feature. The following estimates were made:

• Most optimistic estimation: 2 person-hours
• Most likely estimation: 11 person-hours
• Most pessimistic estimation: 14 person-hours

What is the final estimate?

Select ONE option.

18 / 40

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

Select ONE option.

19 / 40

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

 

Select ONE option.

20 / 40

20. Which TWO of the following statements provide the BEST rationale for using exploratory testing?

Select TWO options.

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. You want to estimate the test effort for the new project using estimation based on ratios. You calculate the test-to-development effort ratio using averaged data for both development effort and test effort from four historical projects similar to the new one. The table shows this historical data.

The estimated development effort for the new project is $800,000. What is your estimate of the test effort in this project?

Select ONE option.

23 / 40

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

24 / 40

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

Select ONE option.

25 / 40

25. Given the following roles in reviews:

1. Scribe
2. Review leader
3. Facilitator
4. Manager

And the following responsibilities in reviews:

A. Ensures the effective running of review meetings and the setting up a safe review environment
B. Records review information, such as decisions and new anomalies found during the review meeting
C. Decides what is to be reviewed and provides resources, such as staff and time for the review
D. Takes overall responsibility for the review such as organizing when and where the review will take place

Which of the following BEST matches the roles and responsibilities?

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

27. Given the following review types:

1. Technical review
2. Informal review
3. Inspection
4. Walkthrough

And the following descriptions:

A. Includes objectives such as gaining consensus, generating new ideas, and motivating authors to improve
B. Includes objectives such as educating reviewers, gaining consensus, generating new ideas and detecting potential defects
C. The main objective is detecting potential defects and it requires metrics collection to support process improvement
D. The main objective is detecting potential defects and it generates no formal documented output

Which of the following BEST matches the review types and the descriptions?

Select ONE option.

28 / 40

28. Which of the following is a benefit of early and frequent stakeholder feedback?

Select ONE option.

29 / 40

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

30 / 40

30. Which of the following is an advantage of the whole team approach?

Select ONE option.

31 / 40

31. The following is a list of the work products produced in the SDLC.

i. Business requirements
ii. Schedule
iii. Test budget
iv. Third-party executable code
v. User stories and their acceptance criteria

Which of them can be reviewed?

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

33. You are testing a sort function that gets a set of numbers as input and returns the same set of numbers sorted in ascending order. The log from the test execution looks as follows.

Which of the following provides the BEST description of the failure that can be used in a defect report?

Select ONE option.

34 / 40

34. Which of the following is MOST likely to impact how testing is performed for a given test object?

Select ONE option.

35 / 40

35. Which test activity involves working with test data requirements, test conditions, test environment requirements and test cases?

Select ONE option.

36 / 40

36. Which of the following is NOT anticipated by the tester while applying error guessing?

Select ONE option.

37 / 40

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

38 / 40

38. Let the branch coverage metric be defined as BCov = (X / Y) * 100%.

What do X and Y represent in this formula?

Select ONE option.

39 / 40

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

40 / 40

40. A storage system can store up to three elements and is modeled by the following state transition diagram. The variable N represents the number of currently stored elements.

Which of the following test cases, represented as sequences of events, achieves the highest level of valid transitions coverage?

Select ONE option.

0%

Scroll to top