ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

1. How can white-box testing be useful in support of black-box testing?

Select ONE option.

2 / 40

2. W A developer was asked to implement the following business rule:

You design the test cases using 2-value boundary value analysis.

Which of the following sets of test inputs achieves the greatest coverage?

Select ONE option.

3 / 40

3. The following list contains risks that have been identified for a new software product to be developed:

i. Management moves two experienced testers to another project
ii. The system does not comply with functional safety standards
iii. System response time exceeds user requirements
iv. Stakeholders have inaccurate expectations
v. Disabled people have problems when using the system

Which of them are project risks?

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. Which test activity does a data preparation tool support?

Select ONE option.

6 / 40

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

7 / 40

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

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

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

11 / 40

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

12 / 40

12. You are preparing a test execution schedule for executing seven test cases TC 1 to TC 7.

The following figure includes the priorities of these test cases (1=highest priority, 3 = lowest priority).

The figure also shows the dependencies between test cases using arrows. For instance, the arrow from TC 4 to TC 5 means that TC 5 can only be executed if TC 4 was previously executed.

Which test case should be executed sixth?

Select ONE option.

13 / 40

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

14 / 40

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

15 / 40

15. Which of the following statements BEST describes the difference between testing and debugging?

Select ONE option.

16 / 40

16. How can the testing quadrants be beneficial for testing?

Select ONE options.

17 / 40

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

Select ONE option.

18 / 40

18. You need to update one of the automated test scripts to be in line with a new requirement. Which process indicates that you create a new version of the test script in the test repository?

Select ONE option.

19 / 40

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

20 / 40

20. You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table.

What test data will show that there are contradictory rules in the decision table?

Select ONE option.

21 / 40

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

22 / 40

22. Which of the following pieces of information contained in a test progress report is the LEAST useful for business representatives?

Select ONE option.

23 / 40

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

Select ONE option.

24 / 40

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

25 / 40

25. Which participant in the review process is responsible for ensuring that the review meetings run effectively and that everyone at the meetings can voice their opinions freely?

Select ONE option.

26 / 40

26. Which of the following BEST describe the collaborative approach to user story writing?

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

29 / 40

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

30 / 40

30. Given the following descriptions of review activities:

1. Detected anomalies are deliberated upon, and determinations are reached regarding their status, ownership, and any further steps needed
2. Issues are recorded, and any needed updates are addressed prior to the acceptance of the work product
3. Reviewers employ techniques to come up with suggestions and questions about the work product and to spot anomalies
4. The objective of the review and its schedule are established to ensure a focused and efficient review
5. Participants are provided with access to the item being reviewed

Which of the following is the CORRECT sequence in the review process of the activities that correspond to the descriptions?

Select ONE option.

31 / 40

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

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

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

Select ONE option.

34 / 40

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

35 / 40

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

36 / 40

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

37 / 40

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

38 / 40

38. Which of the following is MOST likely to be a challenge encountered when implementing DevOps?

Select ONE option.

39 / 40

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

40 / 40

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

Select ONE option.

0%

Scroll to top