ISTQB Learning

Test your knowledge

0%
35
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. 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.

3 / 40

3. Consider the following testware.

Which test activity produces this testware as an output?

Select ONE option.

4 / 40

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

5 / 40

5. Which of the following provides the BEST example of a scenario-oriented acceptance criterion?

Select ONE option.

6 / 40

6. Which of the following is a typical test objective?

Select ONE option.

7 / 40

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

8 / 40

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

9 / 40

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

What do X and Y represent in this formula?

Select ONE option.

10 / 40

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

 

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

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

14 / 40

14. Which types of failures (1-4) fit which test levels (A-D) BEST?

1. Failures in system behavior as it deviates from the user’s business needs
2. Failures in communication between components
3. Failures in logic in a module
4. Failures in not correctly implemented business rules

A. Component testing
B. Component integration testing
C. System testing
D. Acceptance testing

Select ONE option.

15 / 40

15. Which of the following skills (i-v) are the MOST important skills of a tester?

i. Having domain knowledge
ii. Creating a product vision
iii. Being a good team player
iv. Planning and organizing the work of the team
v. Critical thinking

Select ONE option.

16 / 40

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

17 / 40

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

18 / 40

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

Select ONE option.

19 / 40

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

20 / 40

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

21 / 40

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

22 / 40

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

Select ONE option.

23 / 40

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

24 / 40

24. Which of the following is NOT an example of how configuration management supports testing?

Select ONE option.

25 / 40

25. Which of the following is an example of how product risk analysis may influence the thoroughness and scope of testing?

Select ONE option.

26 / 40

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

27 / 40

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

28 / 40

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

29 / 40

29. Which of the following are product risks?

Select TWO options.

30 / 40

30. Which of the following is NOT an example of the shift left approach?

Select ONE option.

31 / 40

31. Which of the following BEST describes the way acceptance criteria can be documented?

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

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

34 / 40

34. Which of the following tests is MOST likely to be performed as part of functional testing?

Select ONE option.

35 / 40

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

36 / 40

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

Select ONE option.

37 / 40

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

38 / 40

38. Which of the following statements is CORRECT?

Select ONE option.

39 / 40

39. You are applying state transition testing to the hotel room reservation system modeled by the following state transition table, with 4 states and 5 different events:

Assuming all test cases start in the ‘Requesting’ state, which of the following test cases, represented as sequences of events, achieves the highest valid transitions coverage?

Select ONE option.

40 / 40

40. Decide which of the following statements (i-v) are true for static testing.

i. Abnormal external behaviors are easier to identify with this testing
ii. Discrepancies from a coding standard are easier to find with this testing
iii. It identifies failures caused by defects when the software is run
iv. Its test objective is to identify defects as early as possible
v. Missing coverage for critical security requirements is easier to find and fix

Select ONE option.

0%

Scroll to top