ISTQB Learning

Test your knowledge

0%
2
Created on By Admin

2018v3.1 - Exam 4

1 / 40

1. Given the following statements about the relationships between software development activities and test activities in the software development lifecycle:

1. Each development activity should have a corresponding testing activity
2. Reviewing should start as soon as final versions of documents become available
3. The design and implementation of tests should start during the corresponding development activity
4. Testing activities should start in the early stages of the software development lifecycle

Which of the following CORRECTLY shows which are true and false?

Select ONE option.

2 / 40

2. In a formal review, what is the role name for the participant who runs an inspection meeting?

Select ONE option.

3 / 40

3. Which of the following provides the definition of the term test case?

Select ONE option.

4 / 40

4. In what way can testing be part of Quality Assurance?

Select ONE option.

5 / 40

5. A batch application has been in production unchanged for over two years. It runs overnight once a month to produce statements that will be e-mailed to customers. For each customer, the application goes through every account and lists every transaction on that account in the last month. It uses a nested-loop structure to process customers (outer loop), each customer’s accounts (middle loop), and each account’s transactions (inner loop).

One night, the batch application terminates prematurely, failing to e-mail statements to some customers, when it encounters a customer with one account for which no transactions occurred in the last month. This is a very unusual situation and has not occurred in the years since this application was placed in production.

While fixing the defect, a programmer asks you to recommend test techniques that are effective against this kind of defect. Which of the following test techniques would most likely have been able to detect the underlying defect?

Select ONE option.

6 / 40

6. Given the following examples of entry and exit criteria:

1. The original testing budget of $30,000 plus contingency of $7,000 has been spent
2. 96% of planned tests for the drawing package have been executed and the remaining tests are now out of scope
3. The trading performance test environment has been designed, set-up and verified
4. Current status is no outstanding critical defects and two high-priority ones
5. The autopilot design specifications have been reviewed and reworked
6. The tax rate calculation component has passed unit testing.

Which of the following BEST categorizes them as entry and exit criteria:

Select ONE option.

7 / 40

7. You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the unit’s field is 0.1 units.

Which of the following is a set of input values that cover the boundary values with two-point boundary values for this field?

Select ONE option.

8 / 40

8. Consider a mobile app that allows customers to access and manage their bank accounts. A user story has just been added to the set of features that checks customers’ social media accounts and bank records to give personalized greetings on birthdays and other personal milestones. Which of the following test techniques could a PROGRAMMER use during a unit test of the code to ensure that coverage of situations when the greetings ARE supposed to occur and when the greetings ARE NOT supposed to occur?

Select ONE option.

9 / 40

9. Which of the following are two factors that can be used to determine the level of risk?

Select ONE option.

10 / 40

10. Which one of the statements below describes the most common situation for a failure discovered during testing or in production?

Select ONE option.

11 / 40

11. Which of the following descriptions of decision coverage is CORRECT?

Select ONE option.

12 / 40

12. Match the following test work products (1-4) with the right description (A-D).

1. Test suite
2. Test case
3. Test script
4. Test charter

A. A set of test scripts to be executed in a specific test run
B. A set of instructions for the execution of a test
C. Contains expected results
D. Documentation of test activities in session-based exploratory testing

Select ONE option.

13 / 40

13. Which of the following is a typical objective of testing?

Select ONE option.

14 / 40

14. How can white-box testing be applied during user acceptance testing?

Select ONE option.

15 / 40

15. Which of the following statements is a valid objective for testing?

Select ONE option.

16 / 40

16. Given the following test activities and test tools:

1. Performance measurement and dynamic analysis
2. Test execution and logging
3. Management of testing and testware
4. Test design
A. Code coverage tools

B. Dynamic analysis tools
C. Test data preparation tools
D. Defect management tools

Which of the following BEST matches the activities and tools?

Select ONE option.

17 / 40

17. Which of the following CORRECTLY matches the roles and responsibilities in a formal review?

18 / 40

18. A smart home app measures the average temperature in the house over the previous week and provides feedback to the occupants on their environmental friendliness based on this temperature.

The feedback for different average temperature ranges (to the nearest °C) should be:

Up to 10°C - Icy Cool!
11°C to 15°C - Chilled Out!
16°C to 19°C - Cool Man!
20°C to 22°C - Too Warm!
Above 22°C - Hot & Sweaty!

Using BVA (only Min- and Max values), which of the following sets of test inputs provides the highest level of boundary coverage?

Select ONE option.

19 / 40

19. During a project following Agile methods, you find a discrepancy between the developer’s interpretation of an acceptance criteria and the product owner’s interpretation, which you bring up during a user story refinement session. Which of the following is a benefit of test independence exemplified by this situation?

Select ONE option.

20 / 40

20. Given the following test activities and tasks:

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

1. Entering change requests for open defect reports
2. Identifying test data to support the test cases
3. Prioritizing test procedures and creating test data
4. Analyzing discrepancies to determine their cause

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

Select ONE option.

21 / 40

21. You are testing a mobile app 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 (smaller number is high priority), and dependencies, in the following format:

Which of the following is a possible test execution schedule that considers both priorities and dependencies?

Select ONE option.

22 / 40

22. Which statement about the relationship between statement coverage and decision coverage is true?

Select ONE option.

23 / 40

23. You will be invited to a review. The work product to be reviewed is a description of the in-house document creation process. The aim of the description is to present the work distribution between the different roles involved in the process in a way that can be clearly understood by everyone.

You will be invited to a checklist-based review. The checklist will also be sent to you. It includes the following points:

i. Is the person who performs the activity clearly identified for each activity?
ii. Are the entry criteria clearly defined for each activity?
iii. Are the exit criteria clearly defined for each activity?
iv. Are the supporting roles and their scope of work clearly defined for each activity?

In the following we show an excerpt of the work result to be reviewed, for which you should use the checklist above:

"After checking the customer documentation for completeness and correctness, the software architect creates the system specification. Once the software architect has completed the system specification, he invites testers and verifiers to the review. A checklist describes the scope of the review. Each invited reviewer creates review comments - if necessary - and concludes the review with an official review done-comment."

Which of the following statements about your review is correct?

Select ONE option.

24 / 40

24. Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules R1 and R4, which are shown below:

Given the following additional test cases:

Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules R1 and R4)?

Select ONE option.

25 / 40

25. What is decision coverage?

Select ONE option.

26 / 40

26. Which of the following statements is true?

Select ONE option.

27 / 40

27. Which one of the following is TRUE?

Select ONE option.

28 / 40

28. The reviews being used in your organization have the following attributes:

• There is a role of a scribe
• The purpose is to detect potential defects
• The review meeting is led by the author
• Reviewers find potential defects by individual review
• A review report is produced

Which of the following review types is MOST likely being used?

Select ONE option.

29 / 40

29. A company's employees are paid bonuses if they work more than a year in the company and achieve a target which is individually agreed before.

These facts can be shown in a decision table:

Which of the following test cases represents a situation that can happen in real life, and is missing in the above decision table?

Select ONE option.

30 / 40

30. Programmers often write and execute unit tests against code which they have written. During this self-testing activity, which of the following is a tester mindset that programmers should adopt to perform this unit testing effectively?

Select ONE option.

31 / 40

31. Which of the following statements on the use of checklists in a formal review is CORRECT?

Select ONE option.

32 / 40

32. Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a developer’s?

Select ONE option.

33 / 40

33. You are testing an unattended gasoline pump that only accepts credit cards. Once the credit card is validated, the pump nozzle placed into the tank, and the desired grade selected, the customer enters the desired amount of fuel in gallons using the keypad. The keypad only allows the entry of digits. Fuel is sold in tenths (0.1) of a gallon, up to 50.0 gallons.

Which of the following is a minimum set of desired amounts that covers the equivalence partitions for this input?

Select ONE option.

34 / 40

34. Which of the following BEST describes the concept behind error guessing?

Select ONE option.

35 / 40

35. Which one of the following is NOT included in a test summary report?

Select ONE option.

36 / 40

36. Which activities are carried out within the planning of a formal review?

Select ONE option.

37 / 40

37. You are testing a new version of software for a coffee machine. The machine can prepare different types of coffee based on four categories. i.e., coffee size, sugar, milk, and syrup. The criteria are as follows:

• Coffee size (small, medium, large)
• Sugar (none, 1 unit, 2 units, 3 units, 4 units)
• Milk (yes or no)
• Coffee flavor syrup (no syrup, caramel, hazelnut, vanilla)

Now you are writing a defect report with the following information:

• Title: Low coffee temperature.
• Short summary: When you select coffee with milk, the time for preparing coffee is too long and the temperature of the beverage is too low (less than 40 °C).
• Expected result: The temperature of coffee should be standard (about 75 °C).
• Degree of risk: Medium
• Priority: Normal

What valuable information was omitted in the above defect report?

Select ONE option.

38 / 40

38. Which of the following is an example of a task that can be carried out as part of the test process?

Select ONE option.

39 / 40

39. A fitness app measures the number of steps that are walked each day and provides feedback to encourage the user to keep fit.

The feedback for different numbers of steps should be:

Up to 1000 - Couch Potato!
Above 1000, up to 2000 - Lazy Bones!
Above 2000, up to 4000 - Getting There!
Above 4000, up to 6000 - Not Bad!
Above 6000 - Way to Go!

Which of the following sets of test inputs would achieve the BEST equivalence partition coverage?

Select ONE option.

40 / 40

40. Which of the following is a common test metric often used to monitor BOTH test preparation and test execution?

Select ONE option.

0%

Scroll to top