ISTQB Learning

Test your knowledge

0%
80
Created on By Admin

Exam 2

1 / 40

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

Select ONE option.

2 / 40

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

Select ONE option.

3 / 40

3. According to the testing quadrants model, which of the following falls into quadrant Q1 (“technology facing” and “support the team”)?

Select ONE option.

4 / 40

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

5 / 40

5. You run two test cases, T1 and T2, on the same code. Test T1 achieved 40% statement coverage and test T2 achieved 65% statement coverage.

Which of the following sentences must be necessarily true?

Select ONE option.

6 / 40

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

Select ONE option.

7 / 40

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

8 / 40

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

9 / 40

9. Which of the following statements is CORRECT?

Select ONE option.

10 / 40

10. Which of the following is a product quality metric?

Select ONE option.

11 / 40

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

12 / 40

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

13 / 40

13. Your team analyzes the following user story in order to define the acceptance criteria:

As a registered customer, I want to be able to view my previous orders on the company's website, so that I can keep track of my purchases.

Which of the following test cases will NOT be relevant for this user story?

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

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

18 / 40

18. Which of the following is an advantage of the whole-team 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 of the following is MOST likely to be an example of a tester using a generic skill when testing?

Select ONE option.

21 / 40

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

Select ONE option.

22 / 40

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

Select ONE option.

23 / 40

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

Select TWO options.

24 / 40

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

25 / 40

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

26 / 40

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

Select ONE option.

27 / 40

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

What do X and Y represent in this formula?

Select ONE option.

28 / 40

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

29 / 40

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

Select ONE option.

30 / 40

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

31 / 40

31. Which of the following statements BEST describes the difference between decision table testing and branch testing?

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. Which of the following BEST describes an example of how configuration management (CM) supports testing?

Select ONE option.

34 / 40

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

35 / 40

35. Which of the following is an example of a defect that can be found by static testing but NOT by dynamic testing?

Select ONE option.

36 / 40

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

Select ONE option.

37 / 40

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

Select ONE option.

38 / 40

38. Given the following risks:

1. Ineffective loop implementation causes long system responses
2. Consumers change their preferences
3. Flooding of the server room
4. Patients above a certain age receive inaccurate reports

And the following mitigation activities:

A. Risk acceptance
B. Performance testing
C. Using boundary value analysis as the test technique
D. Risk transfer

Which of the following BEST matches the risks with the mitigation activities?

Select ONE option.

39 / 40

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

40 / 40

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

Select ONE option.

0%

Scroll to top