ISTQB Learning

Test your knowledge

0%
32
Created on By Admin

Exam 5

1 / 40

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

2 / 40

2. Which of the following statements BEST describes the difference between testing and debugging?

Select ONE option.

3 / 40

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

Select ONE option.

4 / 40

4. What does the test pyramid model show?

Select ONE option.

5 / 40

5. Which of the following options shows an example of test activities that contribute to success?

Select ONE option.

6 / 40

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

Select ONE option.

7 / 40

7. The user reported a software failure. An engineer from the support team asked the user for the software version number where the failure was observed. Based on the version number, the team reassembled all the files that made up the release. This later allowed a developer to perform analysis, find the defect, and fix it.

Which of the following enabled the above activity to be performed by the team?

Select ONE options.

8 / 40

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

9 / 40

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

Select ONE option.

10 / 40

10. Which of the following is MOST likely to be a trigger that leads to maintenance testing of a currency exchange system?

Select ONE option.

11 / 40

11. Which of the following statements about the different testing roles is MOST likely to be CORRECT?

Select ONE option.

12 / 40

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

Select TWO options.

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. Which of the following tests is MOST likely to be performed as part of functional testing?

Select ONE option.

15 / 40

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

16 / 40

16. In many software organizations the test department is called the Quality Assurance (QA) department. Is this sentence correct or not and why?

Select ONE option.

17 / 40

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

18 / 40

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

19 / 40

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

Select ONE option.

20 / 40

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

21 / 40

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

Select ONE option.

22 / 40

22. Consider the following testware.

Which test activity produces this testware as an output?

Select ONE option.

23 / 40

23. Which work product can be used by an agile team to show the amount of work that has been completed and the amount of total work remaining for a given iteration?

Select ONE option.

24 / 40

24. You have been assigned as a tester to a team producing a new system incrementally. You have noticed that no changes have been made to the existing regression test cases for several iterations and no new regression defects were identified. Your manager is happy, but you are not. Which testing principle explains your skepticism?

Select ONE option.

25 / 40

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

26 / 40

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

Select ONE option.

27 / 40

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

28 / 40

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

Select ONE option.

29 / 40

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

30 / 40

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

31 / 40

31. How is the whole team approach present in the interactions between testers and business representatives?

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

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

34 / 40

34. You are designing test cases based on the following decision table.

So far you have designed the following test cases:

• TC1: 19-year-old, unregistered man with no experience; expected result: category A
• TC2: 65-year-old, unregistered woman with 5 years of experience; expected result: category B
• TC3: 66-year-old, registered man with no experience; expected result: category C
• TC4: 65-year-old, registered woman with 4 years of experience; expected result:
category D

Which of the following test cases, when added to the existing set of test cases, will increase the decision table coverage?

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

36. The following list contains risks that have been identified for a new software product to be developed:

i. Management moves two experienced testers to another project
ii. The system does not comply with functional safety standards
iii. System response time exceeds user requirements
iv. Stakeholders have inaccurate expectations
v. Disabled people have problems when using the system

Which of them are project risks?

Select ONE option.

37 / 40

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

38 / 40

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

 

Select ONE option.

39 / 40

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

40 / 40

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

0%

Scroll to top