ISTQB Learning

Test your knowledge

0%
35
Created on By Admin

Exam 5

1 / 40

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

Select ONE option.

2 / 40

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

3 / 40

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

4 / 40

4. Which of the following BEST define EXIT criteria in a testing project?

Select TWO options.

5 / 40

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

6 / 40

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

7 / 40

7. Which of the following is a factor that contributes to a successful review?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

10. The ‘absence-of-defects fallacy’ is one of the principles of testing. Which of the following is an example of addressing this principle in practice?

Select ONE option.

11 / 40

11. Consider the following user story:

As an Editor
I want to review content before it is published
so that I can assure the grammar is correct

and its acceptance criteria:

• The user can log in to the content management system with "Editor" role
• The editor can view existing content pages
• The editor can edit the page content
• The editor can add markup comments
• The editor can save changes
• The editor can reassign to the "content owner" role to make updates

Which of the following is the BEST example of an ATDD test for this user story?

Select ONE option.

12 / 40

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

13 / 40

13. Which test activity does a data preparation tool support?

Select ONE option.

14 / 40

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

15 / 40

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

Select ONE option.

16 / 40

16. You are testing a mobile application that allows customers to access and manage their bank accounts. You are running a test suite that involves evaluating each screen, and each field on each screen, against a general list of user interface best practices derived from a popular book on the topic that maximizes attractiveness, ease-of-use, and accessibility for such applications. Which of the following options BEST categorizes the test technique you are using?

Select ONE option.

17 / 40

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

18 / 40

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

19 / 40

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

Select ONE option.

20 / 40

20. Which of the following statements about formal reviews is TRUE?

Select ONE option.

21 / 40

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

22 / 40

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

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

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

25 / 40

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

26 / 40

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

27 / 40

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

Select ONE option.

28 / 40

28. You test a system whose lifecycle is modeled by the state transition diagram shown below. The system starts in the INIT state and ends its operation in the OFF state.

What is the MINIMAL number of test cases to achieve valid transitions coverage?

Select ONE option.

29 / 40

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

30 / 40

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

31 / 40

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

32 / 40

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

Select ONE option.

33 / 40

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

34 / 40

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

35 / 40

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

36 / 40

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

Select ONE option.

37 / 40

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

38 / 40

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

Select ONE option.

39 / 40

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

Select ONE option.

40 / 40

40. Given the following testware:

1. Coverage items
2. Change requests
3. Test execution schedule
4. Prioritized test conditions

And the following test activities

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

Which of the following BEST shows the testware produced by the activities?

Select ONE option.

0%

Scroll to top