ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

1. Which of the following BEST fits as an element of the checklist used in checklist-based testing?

Select ONE option.

2 / 40

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

3 / 40

3. What does the test pyramid model show?

Select ONE option.

4 / 40

4. Given the following descriptions:

1. Support workflow tracking
2. Facilitate communication
3. Virtual machines
4. Support reviews

And the following test tool categories:

A. Static testing tools
B. Tools supporting scalability and deployment standardization
C. DevOps tools
D. Collaboration tools

Which of the following BEST matches the descriptions and categories?

Explanation / Rationale

5 / 40

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

6 / 40

6. Which of the following is MOST likely to be a benefit of test automation?

 

Select ONE option.

7 / 40

7. Which of the following statements about quality assurance (QA) and/or quality control (QC) is correct?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

Select ONE option.

10 / 40

10. Which collaborative user story writing practice enables the team to achieve a collective understanding of what needs to be delivered?

Select ONE option.

11 / 40

11. You want to apply branch testing to the code represented by the following control flow graph.

How many coverage items do you need to test?

Select ONE option.

12 / 40

12. Which of the following statements is a CORRECT example of the value of traceability?

Select ONE option.

13 / 40

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

14 / 40

14. Which of the following tests is MOST likely to be performed as part of functional testing?

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

17. How is the whole team approach present in the interactions between testers and business representatives?

Select ONE option.

18 / 40

18. You are designing test cases based on the following decision table.

So far you have designed the following test cases:

• TC1: 19-year-old, unregistered man with no experience; expected result: category A
• TC2: 65-year-old, unregistered woman with 5 years of experience; expected result: category B
• TC3: 66-year-old, registered man with no experience; expected result: category C
• TC4: 65-year-old, registered woman with 4 years of experience; expected result:
category D

Which of the following test cases, when added to the existing set of test cases, will increase the decision table coverage?

Select ONE option.

19 / 40

19. Which of the following is LEAST likely to occur as a result of a retrospective?

Select ONE option.

20 / 40

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

21 / 40

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

Select ONE option.

22 / 40

22. Which of the following is MOST likely to describe a task performed by someone in a test management role?

Select ONE option.

23 / 40

23. Given the following review types:

1. Technical review
2. Informal review
3. Inspection
4. Walkthrough

And the following descriptions:

A. Includes objectives such as gaining consensus, generating new ideas, and motivating authors to improve
B. Includes objectives such as educating reviewers, gaining consensus, generating new ideas and detecting potential defects
C. The main objective is detecting potential defects and it requires metrics collection to support process improvement
D. The main objective is detecting potential defects and it generates no formal documented output

Which of the following BEST matches the review types and the descriptions?

Select ONE option.

24 / 40

24. Which of the following BEST describes an example of how configuration management (CM) supports testing?

Select ONE option.

25 / 40

25. You are applying state transition testing to the hotel room reservation system modeled by the following state transition table, with 4 states and 5 different events:

Assuming all test cases start in the ‘Requesting’ state, which of the following test cases, represented as sequences of events, achieves the highest valid transitions coverage?

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

28. Which of the following BEST describes how using checklist-based testing can result in increased coverage?

Select ONE option.

29 / 40

29. You perform system testing of an e-commerce web application and are provided with the following requirement:

REQ 05-017. If the total cost of purchases exceeds $100, the customer gets a 5% discount on subsequent purchases. Otherwise, the customer does not receive a discount.

Which test techniques will be MOST helpful in designing test cases based on this requirement?

Select ONE option.

30 / 40

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

31 / 40

31. Let the branch coverage metric be defined as BCov = (X / Y) * 100%.

What do X and Y represent in this formula?

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

33. One of the ‘principles of testing’ states that exhaustive testing is impossible. Which of the following is an example of addressing this principle in practice?

Select ONE option.

34 / 40

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

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

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

37 / 40

37. Which of the following statements about the different testing roles is MOST likely to be CORRECT?

Select ONE option.

38 / 40

38. Which of the following test activities are MOST likely to involve the application of boundary value analysis and equivalence partitioning?

Select TWO options.

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

0%

Scroll to top