ISTQB Learning

Test your knowledge

0%
29
Created on By Admin

Exam 5

1 / 40

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

2 / 40

2. Which of the following is the BEST example of how traceability supports testing?

Select ONE option.

3 / 40

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

Select ONE option.

4 / 40

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

5 / 40

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

Select ONE option.

6 / 40

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

Select TWO options.

7 / 40

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

Select ONE option.

8 / 40

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

9 / 40

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

10 / 40

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

Select ONE option.

11 / 40

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

12 / 40

12. Which of the following factors (i-v) have SIGNIFICANT influence on the test process?

i. The SDLC
ii. The number of defects detected in previous projects
iii. The identified product risks
iv. New regulatory requirements forcing formal white-box testing
v. The test environment setup

Select ONE option.

13 / 40

13. Which of the following is NOT true regarding the test pyramid?

Select ONE option.

14 / 40

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

15 / 40

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

16 / 40

16. You received the following defect report from the developers stating that the anomaly described in this test report is not reproducible.

Application hangs up
2022-May-03 – John Doe – Rejected
The application hangs up after entering “Test input: $ä” in the Name field on the new user creation screen. Tried to log off, log in with test_admin01 account, same issue. Tried with other test admin accounts, same issue. No error message received; log (see attached) contains fatal error notification. Based on the test case TC-1305, the application should accept the provided input and create the user. Please fix with high priority, this feature is related to REQ-0012, which is a critical new business requirement.

What critical information is MISSING from this test report that would have been useful for the developers?

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

18. Which of the following is an example of how product risk analysis influences thoroughness and scope of testing?

Select ONE option.

19 / 40

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

Select ONE option.

20 / 40

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

21 / 40

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

22 / 40

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

23 / 40

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

24 / 40

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

Select ONE option.

25 / 40

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

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

27. Which of the following statements describe a valid test objective?

Select ONE option.

28 / 40

28. You are working as a tester in the team that follows the V-model. The choice of software development lifecycle (SDLC) model impacts the timing of testing, which of the following statement is NOT true?

Select ONE option.

29 / 40

29. Which of the following is NOT a valid purpose for a test report?

Select ONE options.

30 / 40

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

Select ONE option.

31 / 40

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

32 / 40

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

33 / 40

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

34 / 40

34. What does the test pyramid model show?

Select ONE option.

35 / 40

35. Consider the following defect report for a web-based shopping application:

What is the MOST important information that is missing from this report?

Select ONE option.

36 / 40

36. Which of the following are product risks?

Select TWO options.

37 / 40

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

Select ONE option.

38 / 40

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

39 / 40

39. You were given a task to analyze and fix causes of failures in a new system to be released.

Which activity are you performing?

Select ONE option.

40 / 40

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

Select ONE option.

0%

Scroll to top