ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

1. You are testing a user story with three acceptance criteria: AC1, AC2 and AC3. AC1 is covered by test case TC1, AC2 by TC2, and AC3 by TC3. The test execution history had three test runs on three consecutive versions of the software as follows:

Tests are repeated once you are informed that all defects found in the test run are corrected and a new version of the software is available.
Which of the above tests are executed as regression tests?

Select ONE option.

2 / 40

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

Select ONE option.

3 / 40

3. In your project there has been a delay in the release of a brand-new application and test execution started late, but you have very detailed domain knowledge and good analytical skills. The full list of requirements has not yet been shared with the team, but management is asking for some test results to be presented.

Which test technique fits BEST in this situation?

Select ONE option.

4 / 40

4. Which of the following is a product quality metric?

Select ONE option.

5 / 40

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

Select ONE option.

6 / 40

6. The table shows the traceability matrix from test cases to requirements. “X” means that a given test case covers the corresponding requirement.

You want to prioritize the test cases following the additional coverage prioritization technique.

You execute all four test cases.

Which test case should be executed as the LAST one?

Select ONE options.

7 / 40

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

Select ONE option.

8 / 40

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

9 / 40

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

 

Select ONE option.

10 / 40

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

Select ONE option.

11 / 40

11. Your team analyzes the following user story in order to define the acceptance criteria:

As a registered customer, I want to be able to view my previous orders on the company's website, so that I can keep track of my purchases.

Which of the following test cases will NOT be relevant for this user story?

Select ONE option.

12 / 40

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

Select ONE option.

13 / 40

13. Which of the following statements is CORRECT?

Select ONE option.

14 / 40

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

15 / 40

15. You are testing a web application that allows users to SEARCH for products, VIEW product details, ADD products to a shopping cart, and place an ORDER.
You have prepared the following five test cases, which you want to execute according to their priorities:

TC1: SEARCH product A Priority: medium

TC2: VIEW product A details Priority: low

TC3: ADD product B to a shopping cart Priority: medium

TC4: ADD product C to a shopping cart Priority: high

TC5: place an ORDER Priority: high

You also identified the following logical dependencies between test cases:

• SEARCH functionality must be tested before VIEW functionality can be tested, as product details rely on search functionality.
• VIEW functionality must be tested before ADD functionality, as adding products relies on the availability of accurate product details.
• ADD functionality must be tested before ORDER functionality, as placing an order relies on the availability of accurate shopping cart information.

Which test case should be executed as the fourth one?

Select ONE option.

16 / 40

16. Your team uses the three-point estimation technique to estimate the test effort for a new high-risk feature. The following estimates were made:

• Most optimistic estimation: 2 person-hours
• Most likely estimation: 11 person-hours
• Most pessimistic estimation: 14 person-hours

What is the final estimate?

Select ONE option.

17 / 40

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

Select ONE options.

18 / 40

18. Which of the following is MOST likely to impact how testing is performed for a given test object?

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

21 / 40

21. What task may management take on during a formal review?

Select ONE option.

22 / 40

22. Given the following benefits and drawbacks of the independence of testing:

i. The testers work in a different location from the developers
ii. Testers question the assumptions programmers make while writing code
iii. A confrontational dynamic has been established between testers and developers
iv. Developers have convinced themselves that testers are mostly accountable for quality
v. Testers have different biases than those held by the developers

Which are MOST likely to be considered benefits?

Select ONE option.

23 / 40

23. A designer documents a design for a user interface that does not suitably address disabled users because the designer is tired. The programmer implements the user interface in line with the design but as they are working under severe time pressure, they do not include suitable exception handling in their program code for bonus calculations. When the operational system is used, complaints are made by some disabled users about the interface and the company is subsequently fined by the relevant regulatory authority. No one notices that bonus calculations are sometimes incorrect.

Which of the following statements is CORRECT?

Select ONE option.

24 / 40

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

Select ONE option.

25 / 40

25. During risk analysis the team considered the following risk: “The system allows too high a discount for a customer”. The team estimated the risk impact to be very high.

What can one say about the risk likelihood?

Select ONE option.

26 / 40

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

27 / 40

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

28 / 40

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

Select ONE option.

29 / 40

29. According to the testing quadrants model, which of the following falls into quadrant Q1 (“technology facing” and “support the team”)?

Select ONE option.

30 / 40

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

Select ONE option.

31 / 40

31. Which of the following is NOT a purpose of a test plan?

Select ONE option.

32 / 40

32. Which test activity involves working with test data requirements, test conditions, test environment requirements and test cases?

Select ONE option.

33 / 40

33. You work as a tester in a project on a mobile application for food ordering for one of your clients. The client sent you a list of requirements. One of them, with high priority, says

“The order must be processed in less than 10 seconds in 95% of the cases”.

You created a set of test cases in which a number of random orders were made, the processing time measured, and the test results were checked against the requirements.

What test type did you perform?

Select ONE option.

34 / 40

34. Which TWO of the following tasks belong MAINLY to a testing role?

Select TWO options.

35 / 40

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

Select ONE option.

36 / 40

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

37 / 40

37. You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:

Variable: PIN code length

• The partition “length correct” - four-digit PINs
• The partition “length incorrect” - PINs with length other than 4

Variable: Number of different digits

• The partition “number of different digits correct” - PINs with at least two different digits
• The partition “number of different digits incorrect” - PINs with all digits being the same

Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?

Select ONE option.

38 / 40

38. Decide which of the following statements (i-v) are true for static testing.

i. Abnormal external behaviors are easier to identify with this testing
ii. Discrepancies from a coding standard are easier to find with this testing
iii. It identifies failures caused by defects when the software is run
iv. Its test objective is to identify defects as early as possible
v. Missing coverage for critical security requirements is easier to find and fix

Select ONE option.

39 / 40

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

40 / 40

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

0%

Scroll to top