ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

1. Which of the following is NOT true regarding the test pyramid?

Select ONE option.

2 / 40

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

3 / 40

3. You are testing a simplified apartment search form which has only two search criteria:

• floor (with three possible options: ground floor; first floor; second or higher floor)
• garden type (with three possible options: no garden; small garden; large garden)

Only apartments on the ground floor have gardens. The form has a built-in validation mechanism that will not allow you to use the search criteria which violate this rule.

Each test has two input values: floor and garden type. You want to apply equivalence partitioning (EP) to cover each floor and each garden type in your tests.

What is the minimal number of test cases to achieve 100% EP coverage?

Select ONE option

4 / 40

4. Given the following descriptions:

1. Support workflow tracking
2. Facilitate communication
3. Virtual machines
4. Support reviews

And the following test tool categories:

A. Static testing tools
B. Tools supporting scalability and deployment standardization
C. DevOps tools
D. Collaboration tools

Which of the following BEST matches the descriptions and categories?

Explanation / Rationale

5 / 40

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

6 / 40

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

Select ONE option.

7 / 40

7. Which of the following is NOT a benefit of static testing?

Select ONE option.

8 / 40

8. You have just started designing test cases for the following user story.

In all test cases the precondition is as follows: there are only two products available, products A and B. Product A costs $100 and product B costs $110.

Which of the following is the BEST example of a test case for this user story?

Select ONE option.

9 / 40

9. Which of the following is MOST likely to be a risk of test automation?

Select ONE options.

10 / 40

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

Select ONE option.

11 / 40

11. Which of the following BEST describes retrospectives?

Select ONE option.

12 / 40

12. What does the test pyramid model show?

Select ONE option.

13 / 40

13. Which of the following test levels is MOST likely being performed if the testing is focused on validation and is not being performed by testers?

Select ONE option.

14 / 40

14. What is the MAIN difference between black-box test techniques and experience-based test techniques?

Select ONE option.

15 / 40

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

Select TWO options.

16 / 40

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

17 / 40

17. Given the following descriptions of review activities:

1. Detected anomalies are deliberated upon, and determinations are reached regarding their status, ownership, and any further steps needed
2. Issues are recorded, and any needed updates are addressed prior to the acceptance of the work product
3. Reviewers employ techniques to come up with suggestions and questions about the work product and to spot anomalies
4. The objective of the review and its schedule are established to ensure a focused and efficient review
5. Participants are provided with access to the item being reviewed

Which of the following is the CORRECT sequence in the review process of the activities that correspond to the descriptions?

Select ONE option.

18 / 40

18. At the beginning of each iteration, the team estimates the amount of work (in person-days) they will need to complete during the iteration. Let E(n) be the estimated amount of work for iteration n, and let A(n) be the actual amount of work done in iteration n. From the third iteration, the team uses the following estimation model based on extrapolation:

 

 

The graph shows the estimated and actual amount of work for the first four iterations.

What is the estimated amount of work for iteration #5?

Select ONE option.

19 / 40

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

Select ONE option.

20 / 40

20. The following decision table contains the rules for determining the risk of atherosclerosis.

You designed the test cases with the following test input data:

TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg
TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg
TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg
TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg
TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg

What is the decision table coverage achieved by these test cases?

Select ONE option.

21 / 40

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

Select ONE option.

22 / 40

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

23 / 40

23. Which of the following are product risks?

Select TWO options.

24 / 40

24. Which of the following statements about DevOps is CORRECT?

Select ONE option.

25 / 40

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

26 / 40

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

27 / 40

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

28 / 40

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

29 / 40

29. Which of the following is MOST likely to describe a task performed by someone in a test management role?

Select ONE option.

30 / 40

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

31 / 40

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

Select ONE option.

32 / 40

32. Which of the following is MOST likely to be a challenge encountered when implementing DevOps?

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

34. Which of the following is NOT true for white-box testing?

Select ONE option.

35 / 40

35. One of the ‘principles of testing’ states that exhaustive testing is impossible. Which of the following is an example of addressing this principle in practice?

Select ONE option.

36 / 40

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

Select ONE option.

37 / 40

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

38 / 40

38. Which of the following is the BEST example of how traceability supports testing?

Select ONE option.

39 / 40

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

Select ONE option.

40 / 40

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

0%

Scroll to top