ISTQB Learning

Test your knowledge

0%
34
Created on By Admin

Exam 5

1 / 40

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

2 / 40

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

Select ONE option.

3 / 40

3. Which item correctly identifies a potential risk of performing test automation?

Select ONE option.

4 / 40

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

5 / 40

5. You are working as a tester in the team that follows the V-model. The choice of software development lifecycle (SDLC) model impacts the timing of testing, which of the following statement is NOT true?

Select ONE option.

6 / 40

6. Consider the following test categories (1-4) and agile testing quadrants (A-D):

1. Usability testing
2. Component testing
3. Functional testing
4. Reliability testing

A. Agile testing quadrant Q1: technology facing, supporting the development team
B. Agile testing quadrant Q2: business facing, supporting the development team
C. Agile testing quadrant Q3: business facing, critique the product
D. Agile testing quadrant Q4: technology facing, critique the product

How do the following test categories map onto the agile testing quadrants?

Select ONE option.

7 / 40

7. What does the test pyramid model show?

Select ONE option.

8 / 40

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

Select ONE option.

9 / 40

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

10 / 40

10. Which of the following options shows an example of test activities that contribute to success?

Select ONE option.

11 / 40

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

12 / 40

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

13 / 40

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

Select ONE option.

14 / 40

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

Select ONE option.

15 / 40

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

16 / 40

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

17 / 40

17. Which of the following is true about exploratory testing?

Select ONE option.

18 / 40

18. Which of the following are product risks?

Select TWO options.

19 / 40

19. Which of the following CANNOT be examined by static testing?

Select ONE option.

20 / 40

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

21 / 40

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

Select ONE option.

22 / 40

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

Select ONE option.

23 / 40

23. Which of the following is an example of how product risk analysis may influence the thoroughness and scope of testing?

Select ONE option.

24 / 40

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

25 / 40

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

Select ONE option.

26 / 40

26. Which of the following is NOT true for white-box testing?

Select ONE option.

27 / 40

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

Select ONE option.

28 / 40

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

Select ONE option.

29 / 40

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

30 / 40

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

31 / 40

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

Select ONE option.

32 / 40

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

Select ONE option.

33 / 40

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

34 / 40

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

Select ONE option.

35 / 40

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

36 / 40

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

37 / 40

37. You work in a team that develops a mobile application for food ordering. In the current iteration the team decided to implement the payment functionality.

Which of the following activities is a part of test analysis?

Select ONE option.

38 / 40

38. Your favorite bicycle daily rental store has just introduced a new Customer Relationship Management system and asked you, one of their most loyal members, to test it.
The implemented features are as follows:

• Anyone can rent a bicycle, but members receive a 20% discount
• However, if the return deadline is missed, the discount is no longer available
• After 15 rentals, members get a gift: a T-Shirt

Decision table describing the implemented features looks as follows:

Based ONLY on the feature description of the Customer Relationship Management system, which of the above rules describes an impossible situation?

 

Select ONE option.

39 / 40

39. What is the relationship between the testing quadrants, test levels and test types?

Select ONE option.

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