ISTQB Learning

Test your knowledge

0%
32
Created on By Admin

Exam 5

1 / 40

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

2 / 40

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

3 / 40

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

4 / 40

4. Which of the following skills (i-v) are the MOST important skills of a tester?

i. Having domain knowledge
ii. Creating a product vision
iii. Being a good team player
iv. Planning and organizing the work of the team
v. Critical thinking

Select ONE option.

5 / 40

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

6 / 40

6. How can white-box testing be useful in support of black-box testing?

Select ONE option.

7 / 40

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

8 / 40

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

9 / 40

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

Select ONE option.

10 / 40

10. You are testing a mobile application that allows users to find a nearby restaurant based on the type of food they want to eat. Consider the following list of test cases, priorities (i.e., a smaller number means a higher priority), and dependencies:

Which of the following test cases should be executed as the third one?

Select ONE option.

11 / 40

11. Consider the following part of a test plan.

Testing will be performed using component testing and component integration testing. The regulations require to demonstrate that 100% branch coverage is achieved for each component classified as critical.

Which part of the test plan does this part belong to?

Select ONE option.

12 / 40

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

13 / 40

13. Given the following testware:

1. Coverage items
2. Change requests
3. Test execution schedule
4. Prioritized test conditions

And the following test activities

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

Which of the following BEST shows the testware produced by the activities?

Select ONE option.

14 / 40

14. The following list contains risks that have been identified for a new software product to be developed:

i. Management moves two experienced testers to another project
ii. The system does not comply with functional safety standards
iii. System response time exceeds user requirements
iv. Stakeholders have inaccurate expectations
v. Disabled people have problems when using the system

Which of them are project risks?

Select ONE option.

15 / 40

15. Which of the following statements about the independence of testing is CORRECT?

Select ONE option.

16 / 40

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

17 / 40

17. Which of the following is MOST likely to be a trigger that leads to maintenance testing of a currency exchange system?

Select ONE option.

18 / 40

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

19 / 40

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

Select TWO options.

20 / 40

20. Which of the following is a benefit of early and frequent feedback?

Select ONE option.

21 / 40

21. Which of the following statements is CORRECT?

Select ONE option.

22 / 40

22. Consider the following testware.

Which test activity produces this testware as an output?

Select ONE option.

23 / 40

23. The following decision table contains the rules for determining the risk of atherosclerosis.

You designed the test cases with the following test input data:

TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg
TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg
TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg
TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg
TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg

What is the decision table coverage achieved by these test cases?

Select ONE option.

24 / 40

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

25 / 40

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

26 / 40

26. Which TWO of the following options are the exit criteria for testing a system?

Select TWO options.

27 / 40

27. Which of the following is NOT an example of the shift left approach?

Select ONE option.

28 / 40

28. Which of the following BEST describes the concept behind error guessing?

Select ONE option.

29 / 40

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

30 / 40

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

Select ONE options.

31 / 40

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

Select ONE option.

32 / 40

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

33 / 40

33. Consider the following acceptance criteria for a user story written from the perspective of an online store owner.

Given that the user is logged in and on the homepage,
When the user clicks on the "Add Item" button,
Then the "Create Item" form should appear,
And the user should be able to input a name and price for the new item.

In what format is this acceptance criteria written?

Select ONE option.

34 / 40

34. Which of the following is NOT a benefit of static testing?

Select ONE option.

35 / 40

35. Which of the following is a characteristic of experience-based test techniques?

Select ONE option.

36 / 40

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

37 / 40

37. Given the following descriptions of review activities:

1. Detected anomalies are deliberated upon, and determinations are reached regarding their status, ownership, and any further steps needed
2. Issues are recorded, and any needed updates are addressed prior to the acceptance of the work product
3. Reviewers employ techniques to come up with suggestions and questions about the work product and to spot anomalies
4. The objective of the review and its schedule are established to ensure a focused and efficient review
5. Participants are provided with access to the item being reviewed

Which of the following is the CORRECT sequence in the review process of the activities that correspond to the descriptions?

Select ONE option.

38 / 40

38. The team wants to estimate the time needed for one tester to execute four test cases for a software component. The team has gathered the following measures of the effort used to execute a single test case:

• Best-case scenario: 1 hour
• Worst-case scenario: 8 hours
• Most likely scenario: 3 hours

Given that the three-point estimation technique is being used, what is the final estimate of the time needed to execute all four test cases?

Select ONE option.

39 / 40

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

40 / 40

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

Select ONE option.

0%

Scroll to top