ISTQB Learning

Test your knowledge

0%
13
Created on By Admin

Exam 5 - 75 minutes

1 / 40

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

2 / 40

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

Select ONE option.

3 / 40

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

4 / 40

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

Select ONE option.

5 / 40

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

6 / 40

6. You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table.

What test data will show that there are contradictory rules in the decision table?

Select ONE option.

7 / 40

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

8 / 40

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

 

Select ONE option.

9 / 40

9. Which of the following are product risks?

Select TWO options.

10 / 40

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

Select ONE option.

11 / 40

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

Select ONE option.

12 / 40

12. For a given risk, its risk level is $1,000 and its risk likelihood is estimated as 50%.

What is the risk impact?

Select ONE options.

13 / 40

13. You are testing a form that verifies the correctness of the length of the password given as input. The form accepts a password with the correct length and rejects a password that is too short or too long. The password length is correct if it has between 6 and 12 characters inclusive. Otherwise, it is considered incorrect.

At first, the form is empty (password length = 0). You apply boundary value analysis to the “password length” variable.

Your set of test cases achieves 100% 2-value boundary value coverage. The team decided that due to the high risk of this component, test cases should be added to ensure 100% 3-value boundary value coverage.

Which additional password lengths should be tested to achieve this?

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

16 / 40

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

Select ONE option.

17 / 40

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

Select ONE option.

18 / 40

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

19 / 40

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

Select ONE option.

20 / 40

20. Consider the following rule: “for every SDLC activity there is a corresponding test activity”. In which SDLC models does this rule hold?

Select ONE option.

21 / 40

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

What do X and Y represent in this formula?

Select ONE option.

22 / 40

22. Which of the following statements BEST describes the difference between decision table testing and branch testing?

Select ONE option.

23 / 40

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

24 / 40

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

Select ONE option.

25 / 40

25. You have just started designing test cases for the following user story.

In all test cases the precondition is as follows: there are only two products available, products A and B. Product A costs $100 and product B costs $110.

Which of the following is the BEST example of a test case for this user story?

Select ONE option.

26 / 40

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

Select ONE option.

27 / 40

27. Consider the following user story:

As an Editor
I want to review content before it is published
so that I can assure the grammar is correct

and its acceptance criteria:

• The user can log in to the content management system with "Editor" role
• The editor can view existing content pages
• The editor can edit the page content
• The editor can add markup comments
• The editor can save changes
• The editor can reassign to the "content owner" role to make updates

Which of the following is the BEST example of an ATDD test for this user story?

Select ONE option.

28 / 40

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

29 / 40

29. Given the following test tasks:

1. Derive test cases from test conditions
2. Identify reusable testware
3. Organize test cases into test procedures
4. Evaluate test basis and test object

And the following test activities:

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

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

Select ONE option.

30 / 40

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

31 / 40

31. Consider the following list:

• Correct input not accepted
• Incorrect input accepted
• Wrong output format
• Division by zero

What test technique is MOST PROBABLY used by the tester who uses this list when performing testing?

Select ONE option.

32 / 40

32. Consider the following defect report for a Book Lending System.

Which of the following is MOST likely to help the developer reproduce the failure quickly?

Select ONE options.

33 / 40

33. Given the following testware:

i. Test completion report
ii. Data held in a database used for test inputs and expected results
iii. The list of elements needed to build the test environment
iv. Documented sequences of test cases in execution order
v. Test cases

Which of the following BEST shows the testware produced as a result of performing test implementation?

Select ONE option.

34 / 40

34. Your test suite S for a program P achieves 100% statement coverage. It consists of three test cases, each of which achieves 50% statement coverage.

Which of the following statements is CORRECT?

Select ONE option.

35 / 40

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

Select ONE option.

36 / 40

36. Which TWO of the following options are common metrics used for reporting on the quality level of the test object?

Select TWO options.

37 / 40

37. You test a system whose lifecycle is modeled by the state transition diagram shown below. The system starts in the INIT state and ends its operation in the OFF state.

What is the MINIMAL number of test cases to achieve valid transitions coverage?

Select ONE option.

38 / 40

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

39 / 40

39. How do testers add value to iteration and release planning?

Select ONE option.

40 / 40

40. Which of the following is MOST likely to be a challenge encountered when implementing DevOps?

Select ONE option.

0%

Scroll to top