ISTQB Learning

Test your knowledge

0%
32
Created on By Admin

Exam 5

1 / 40

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

2 / 40

2. Consider the following part of a test plan.

Testing will be performed using component testing and component integration testing. The regulations require to demonstrate that 100% branch coverage is achieved for each component classified as critical.

Which part of the test plan does this part belong to?

Select ONE option.

3 / 40

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

4 / 40

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

5 / 40

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

6 / 40

6. Given the following benefits and drawbacks of the independence of testing:

i. The testers work in a different location from the developers
ii. Testers question the assumptions programmers make while writing code
iii. A confrontational dynamic has been established between testers and developers
iv. Developers have convinced themselves that testers are mostly accountable for quality
v. Testers have different biases than those held by the developers

Which are MOST likely to be considered benefits?

Select ONE option.

7 / 40

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

8 / 40

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

9 / 40

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

Select TWO options.

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 of the following is true about exploratory testing?

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

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

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

17. The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be performed?

Select ONE option.

18 / 40

18. Given the following test tasks:

1. Derive test cases from test conditions
2. Identify reusable testware
3. Organize test cases into test procedures
4. Evaluate test basis and test object

And the following test activities:

A. Test analysis
B. Test design
C. Test implementation
D. Test completion

Which of the following BEST matches the tasks with the activities?

Select ONE option.

19 / 40

19. Given the following testware:

i. Test completion report
ii. Data held in a database used for test inputs and expected results
iii. The list of elements needed to build the test environment
iv. Documented sequences of test cases in execution order
v. Test cases

Which of the following BEST shows the testware produced as a result of performing test implementation?

Select ONE option.

20 / 40

20. A designer documents a design for a user interface that does not suitably address disabled users because the designer is tired. The programmer implements the user interface in line with the design but as they are working under severe time pressure, they do not include suitable exception handling in their program code for bonus calculations. When the operational system is used, complaints are made by some disabled users about the interface and the company is subsequently fined by the relevant regulatory authority. No one notices that bonus calculations are sometimes incorrect.

Which of the following statements is CORRECT?

Select ONE option.

21 / 40

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

22 / 40

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

Select ONE option.

23 / 40

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

24 / 40

24. Why does white-box testing facilitate defect detection even when the software specification is vague, outdated or incomplete?

Select ONE option.

25 / 40

25. During risk analysis the team considered the following risk: “The system allows too high a discount for a customer”. The team estimated the risk impact to be very high.

What can one say about the risk likelihood?

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

27. You are testing a user story with three acceptance criteria: AC1, AC2 and AC3. AC1 is covered by test case TC1, AC2 by TC2, and AC3 by TC3. The test execution history had three test runs on three consecutive versions of the software as follows:

Tests are repeated once you are informed that all defects found in the test run are corrected and a new version of the software is available.
Which of the above tests are executed as regression tests?

Select ONE option.

28 / 40

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

Select TWO options.

29 / 40

29. The table shows the traceability matrix from test cases to requirements. “X” means that a given test case covers the corresponding requirement.

You want to prioritize the test cases following the additional coverage prioritization technique.

You execute all four test cases.

Which test case should be executed as the LAST one?

Select ONE options.

30 / 40

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

Select TWO options.

31 / 40

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

32 / 40

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

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

34. Your team uses planning poker to estimate the test effort for a newly required feature. There is a rule in your team that if there is no time to reach full agreement and the variation in the results is small, applying rules like “accept the number with the most votes” can be applied.
After two rounds, the consensus was not reached, so the third round was initiated. You can see the test estimation results in the table below.

Which of the following is the BEST example of the next step?

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

36. Consider the following testware.

Which test activity produces this testware as an output?

Select ONE option.

37 / 40

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

38 / 40

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

Select ONE option.

39 / 40

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

40 / 40

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

0%

Scroll to top