ISTQB CTFL v4.0 Sample Exam D

39 Fragen · ISTQB Foundation Level (CTFL)

Dieses Prüfungsset üben
1.

Which of the following is a typical test objective?

2.

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?

3.

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?

4.

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?

5.

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

6.

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

7.

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 Which are MOST likely to be considered benefits?

8.

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

9.

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

10.

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

11.

Which of the following BEST describes retrospectives?

12.

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

13.

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

14.

Which of the following CANNOT be examined by static testing?

15.

Which of the following statements about the value of static testing is CORRECT?

16.

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?

17.

Which participant in the review process is responsible for ensuring that the review meetings run effectively and that everyone at the meetings can voice their opinions freely?

18.

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?

19.

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 TWO of the following test data sets should be added to achieve full valid equivalence partitioning coverage for the discount type?

20.

You are testing a temperature control system for a horticultural cold storage facility. The system receives the temperature (in full degrees Celsius) as the input. If the temperature is between 0 and 2 degrees inclusive, the system displays the message “temperature OK”. For lower temperatures, the system displays the message "temperature too low" and for higher temperatures it displays the message “temperature too high”. Using two-value boundary value analysis, which of the following sets of test inputs provides the highest level of boundary value coverage?

21.

You are designing test cases based on the following decision table. R1 R2 R3 R4 R5 R6 R7 C1: Age 0-18 19-65 19-65 >65 0-18 19-65 >65 C2: Experience - 0-4 >4 - - - - C3: Registered? NO NO NO NO YES YES YES Category A A B B B D C 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?

22.

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: Events State Available NotAvailable ChangeRoom Cancel Pay S1: Requesting S2 S3 S2: Confirmed S1 S4 S4 S3: Waiting list S2 S4 S4: End 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?

23.

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?

24.

Why does white-box testing facilitate defect detection even when the software specification is vague, outdated or incomplete?

25.

Which of the following is NOT anticipated by the tester while applying error guessing?

26.

Which of the following is true about exploratory testing?

27.

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

28.

You have just started designing test cases for the following user story. As a customer, I want to be able to filter search results by price range, so that I can find products within my budget more easily. Acceptance criteria: 1. The filter should work for all versions of the application from version 3.0 upwards 2. The filter should allow the customer to set a price range with a minimum and a maximum price 3. The search results should update dynamically as the customer adjusts the price range filter 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?

29.

Which of the following BEST define EXIT criteria in a testing project?

30.

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?

31.

The table shows the traceability matrix from test cases to requirements. “X” means that a given test case covers the corresponding requirement. Req1 Req2 Req3 Req4 Req5 Req6 Req7 TC1 X X X X TC2 X X X TC3 X X TC4 X 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?

32.

How can the testing quadrants be beneficial for testing?

33.

For a given risk, its risk level is $1,000 and its risk likelihood is estimated as 50%. What is the risk impact?

34.

Which of the following are product risks?

35.

Which of the following is NOT a valid purpose for a test report?

36.

The user reported a software failure. An engineer from the support team asked the user for the software version number where the failure was observed. Based on the version number, the team reassembled all the files that made up the release. This later allowed a developer to perform analysis, find the defect, and fix it. Which of the following enabled the above activity to be performed by the team?

37.

Consider the following defect report for a Book Lending System. Defect ID: 001 | Title: Unable to Return a Book | Severity: High | Priority: Environment: Windows 10, Google Chrome Description: When attempting to return a book using the Book Return feature, the system does not register the return and the book remains checked out to the user. Steps to Reproduce: Login to the Book Lending System as a user who has checked out a book. Click on the "Book Return" button for the book that has been checked out. System does not register the return and the book remains checked out. Expected Result: The book should be returned and no longer appear as checked out to the user. Actual Result: The book remains checked out to the user and is not registered as returned in the system. Attachments: [empty list] Which of the following is MOST likely to help the developer reproduce the failure quickly?

38.

Given the following test tool categories: i. Collaboration tools ii. DevOps tools iii. Management tools iv. Non-functional testing tools v. Test design and implementation tools Tools from which of the categories are MOST likely to facilitate test execution?

39.

Which of the following is MOST likely to be a risk of test automation?