ISTQB Learning

Test your knowledge

0%
3
Created on By Admin

2018v3.1 - Exam 4 - 75 minutes

1 / 40

1. Which one of the following is the characteristic of a metrics-based approach for test estimation?

Select ONE option.

2 / 40

2. An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment:

• Less than or equal to 2 years
• More than 2 years but less than 5 years
• 5 to 10 years inclusively
• Longer than 10 years

What is the minimum number of test cases required to cover all valid equivalence partitions for calculating the bonus?

Select ONE option.

3 / 40

3. What is decision coverage?

Select ONE option.

4 / 40

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

5 / 40

5. You are working on a video game development project, using Agile methods. It is based on Greek mythology and history, and players can play key roles in scenarios such as the battles between the Greeks and Trojans.

Consider the following user story and its associated acceptance criteria:

As a player,
I want to be able to acquire the Rod of Midas (a new magic object),
so that I can turn objects and other players into gold
AC1: The Rod must work on any object or player, no matter what size, which can be touched anywhere by the player holding the Rod
AC2: Holding the Rod does not change the player holding it into gold
AC3: Any object or player touched by the Rod transforms completely into gold within one millisecond
AC4: The Rod appears as shown in Prototype O.W.RoM
AC5: The transformation starts at the point of contact with the Rod and moves at a rate of one meter per millisecond

You are participating in a checklist-based review session of this user story.

This user story and its associated acceptance criteria contain which of the following typical defects identified by static testing in this type of work product?

Select ONE option.

6 / 40

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

7 / 40

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

Select ONE option.

8 / 40

8. The project develops a "smart" heating thermostat. The control algorithms of the thermostat were modeled as Matlab/Simulink models and run on the internet connected server. The thermostat uses the specifications of the server to trigger the heating valves.

The test manager has defined the following test strategy/approach in the test plan:

1. The acceptance test for the whole system is executed as an experience-based test.
2. The control algorithms on the server are checked against standard of the energy saving regulation.
3. The functional test of the thermostat is performed as risk-based testing.
4. The security tests of data / communication via the internet are executed together with external security experts.

What four common types of test strategies/approaches did the test manager implement in the test plan?

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

10. Which of the following is a defect rather than a root cause in a fitness tracker?

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

13. During an Agile development effort, a product owner discovers a previously unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run?

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

15. What is quality?

Select ONE option.

16 / 40

16. Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving test conditions and associated test cases from the user story as a way of applying the principle of early QA and test. What test technique are you applying?

Select ONE option.

17 / 40

17. Which of the following statements about the given state transition diagram and table of test cases is TRUE?

Select ONE option.

18 / 40

18. You are defining the process for carrying out product risk analysis as part of each iteration on an Agile project. Which of the following is the proper place to document this process in a test plan?

Select ONE option.

19 / 40

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

20 / 40

20. Consider the following types of defects that a test level might focus on:

a) Defects in separately testable modules or objects
b) Not focused on identifying defects
c) Defects in interfaces and interactions
d) Defects in the whole test object

Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above?

Select ONE option.

21 / 40

21. Which of the following statements BEST describes how tasks are divided between the test manager and the tester?

Select ONE option.

22 / 40

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

23 / 40

23. For which of the following situations is exploratory testing suitable?

Select ONE option.

24 / 40

24. You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system. Which of the following statements describes this test?

Select ONE option.

25 / 40

25. Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization?

Select ONE option.

26 / 40

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

27 / 40

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

Select ONE option.

28 / 40

28. Consider the following state transition diagram for a credit-card only, unattended gasoline pump:

Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need?

Select ONE option.

29 / 40

29. Which of the following statements BEST compares the purposes of confirmation testing and regression testing?

Select ONE option.

30 / 40

30. Which of the following metrics would be MOST useful to monitor during test execution?

Select ONE option.

31 / 40

31. Which of the following is a true statement about exploratory testing?

Select ONE option.

32 / 40

32. You have been asked to take part in a checklist-based review of the following excerpt from the requirements specification for a library system:

Librarians can:

1. Register new borrowers
2. Return books from borrowers
3. Accept fines from borrowers
4. Add new books to the system with their ISBN, author and title
5. Remove books from the system
6. Get system responses within 5 seconds

Borrowers can:

7. Borrow a maximum of 3 books at one time
8. View the history of books they have borrowed/reserved
9. Be fined for failing to return a book within 3 weeks
10. Get system responses within 3 seconds
11. Borrow a book at no cost for a maximum of 4 weeks
12. Reserve books (if they are on-loan)

All users (librarians and borrowers):

13. Can search for books by ISBN, author, or title
14. Can browse the system catalogue
15. The system shall respond to user requests within 3 seconds
16. The user interface shall be easy-to-use

You have been assigned the checklist entry that requires you to review the specification for inconsistencies between individual requirements (i.e., conflicts between requirements).

Which of the following CORRECTLY identifies inconsistencies between pairs of requirements?

Select ONE option.

33 / 40

33. A speed control and reporting system has the following characteristics:

• If you drive 50 km/h or less, nothing will happen.
• If you drive faster than 50 km/h, but no more than 55 km/h, you will be warned.
• If you drive faster than 55 km/h but not more than 60 km/h, you will be fined.
• If you drive faster than 60 km/h, your driving license will be suspended.
• The speed in km/h is available to the system as an integer value.

Which would be the most likely set of values (km/h) identified by applying the boundary value analysis, where only the values on the boundaries of the equivalence classes are selected?

Select ONE option.

34 / 40

34. You are performing system testing of a train reservation system. Based on the test cases performed, you have noticed that the system occasionally reports that no trains are available, although this should be the case. You have provided the developers with a summary of the defect and the version of the tested system. They recognize the urgency of the defect and are now waiting for you to provide further details.

In addition to the information already provided, the following additional information is given:

1. Degree of impact (severity) of the defect
2. Identification of the test object
3. Details of the test environment
4. Urgency/priority to fix
5. Actual results
6. Reference to test case specification

Which of this additional information is most useful to include in the defect report?

Select ONE option.

35 / 40

35. You are engaged in planning a test effort for a new mobile banking application. As part of estimation, you first meet with the proposed testers and others on the project. The team is well-coordinated and has already worked on similar projects. To verify the resulting estimate, you then refer to some industry averages for testing effort and costs on similar projects, published by a reputable consultant.

Which statement accurately describes your estimation approach?

Select ONE option.

36 / 40

36. Which of the following provides the BEST description of exploratory testing?

Select ONE option.

37 / 40

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

38 / 40

38. Which of the review types below is the BEST option to choose when the review must follow a formal process based on rules and checklists?

Select ONE option.

39 / 40

39. A video application has the following requirement: The application shall allow playing a video on the following display resolution:

1. 640x480
2. 1280x720
3. 1600x1200
4. 1920x1080

Which of the following list of test cases is a result of applying the equivalence partitioning test technique to test this requirement?

Select ONE option.

40 / 40

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

0%

Scroll to top