ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

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

2 / 40

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

Select ONE option.

3 / 40

3. What does the test pyramid model show?

Select ONE option.

4 / 40

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

Select ONE option.

5 / 40

5. Which test activity does a data preparation tool support?

Select ONE option.

6 / 40

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

7 / 40

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

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

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

Select ONE option.

11 / 40

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

12 / 40

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

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

15. During a risk analysis the following risk was identified and assessed:

• Risk: Response time is too long to generate a report
• Risk likelihood: medium; risk impact: high
• Response to risk:

o An independent test team performs performance testing during system testing
o A selected sample of end users performs alpha and beta acceptance testing before the release

What measure is proposed to be taken in response to this analyzed risk?

Select ONE option.

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

18. Given the following task descriptions:

1. The quality characteristics to be evaluated and the exit criteria are selected
2. Everyone has access to the work product
3. Anomalies are identified in the work product
4. Anomalies are discussed

And the following review activities

A. Individual review
B. Review initiation
C. Planning
D. Communication and analysis

Which of the following BEST matches the task descriptions and activities?

Select ONE option.

19 / 40

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

20 / 40

20. Which of the following BEST define EXIT criteria in a testing project?

Select TWO options.

21 / 40

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

Select ONE option.

22 / 40

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

23 / 40

23. You are testing a temperature control system for a horticultural cold storage facility. The system receives the temperature (in full degrees Celsius) as the input. If the temperature is between 0 and 2 degrees inclusive, the system displays the message “temperature OK”. For lower temperatures, the system displays the message "temperature too low" and for higher temperatures it displays the message “temperature too high”.

Using two-value boundary value analysis, which of the following sets of test inputs provides the highest level of boundary value coverage?

Select ONE option.

24 / 40

24. You are testing a mobile application that allows users to find a nearby restaurant based on the type of food they want to eat. Consider the following list of test cases, priorities (i.e., a smaller number means a higher priority), and dependencies:

Which of the following test cases should be executed as the third one?

Select ONE option.

25 / 40

25. You are designing test cases based on the following state transition diagram:

What is the MINIMUM number of test cases required to achieve 100% valid transitions coverage?

Select ONE option.

26 / 40

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

27 / 40

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

28 / 40

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

29 / 40

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

30 / 40

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

Select ONE option.

31 / 40

31. Which of the following is MOST likely to be performed as part of system testing?

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

33. You perform system testing of an e-commerce web application and are provided with the following requirement:

REQ 05-017. If the total cost of purchases exceeds $100, the customer gets a 5% discount on subsequent purchases. Otherwise, the customer does not receive a discount.

Which test techniques will be MOST helpful in designing test cases based on this requirement?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

36. Consider the following test categories (1-4) and agile testing quadrants (A-D):

1. Usability testing
2. Component testing
3. Functional testing
4. Reliability testing

A. Agile testing quadrant Q1: technology facing, supporting the development team
B. Agile testing quadrant Q2: business facing, supporting the development team
C. Agile testing quadrant Q3: business facing, critique the product
D. Agile testing quadrant Q4: technology facing, critique the product

How do the following test categories map onto the agile testing quadrants?

Select ONE option.

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

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

Select ONE option.

40 / 40

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

Select ONE option.

0%

Scroll to top