0% 3 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 - 75 minutes Name 1 / 40 1. Which one of the following answers describes a test condition? a) A distinguishing characteristic of a component or system b) A testable aspect of a component or system identified as a basis for testing c) The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions d) Test cases designed to execute combinations of conditions and actions resulting from them Select ONE option. Explanation / Rationale a) Is not correct. Definition of feature according to glossary b) Is correct. From glossary c) Is not correct. Definition of functionality suitability according to glossary d) Is not correct. Like Definition of Decision table testing according to glossary 2 / 40 2. A video application has the following requirement: The application shall allow playing a video on the following display resolution: 1. 640x480 2. 1280x720 3. 1600x1200 4. 1920x1080 Which of the following list of test cases is a result of applying the equivalence partitioning test technique to test this requirement? a) Verify that the application can play a video on a display of size 1920x1080 (1 test case) b) Verify that the application can play a video on a display of size 640x480 and 1920x1080 (2 test cases) c) Verify that the application can play a video on each of the display sizes in the requirement (4 test cases) d) Verify that the application can play a video on any one of the display sizes in the requirement (1 test case) Select ONE option. Explanation / Rationale a) Is not correct. See reason from correct answer b) Is not correct. See reason from correct answer c) Is correct. This is a case where the requirement gives an enumeration of discrete values. Each enumeration value is an equivalence class by itself; therefore, each will be tested when using equivalence partitioning test technique d) Is not correct. See reason from correct answer 3 / 40 3. Which of the following can affect and be part of the (initial) test planning? a) Budget limitations b) Test log c) Failure rate d) Use cases Select ONE options. Explanation / Rationale a) Is correct. Making decisions about what to test are documented in the test plan. This means when you are planning the test and there are budget limitations, prioritizing is needed; what should be tested and what should be omitted b) Is not correct. Test monitoring and control c) Is not correct. Common test metrics d) Is not correct. It is a part of test analysis 4 / 40 4. Which of the following statements BEST describes how tasks are divided between the test manager and the tester? a) The test manager plans testing activities and chooses the standards to be followed, while the tester chooses the tools and set the tools usage guidelines b) The test manager plans, coordinates, and controls the testing activities, while the tester automates the tests c) The test manager plans, monitors, and controls the testing activities, while the tester designs tests and decides on the release of the test object d) The test manager plans and organizes the testing and specifies the test cases, while the tester executes the tests Select ONE option. Explanation / Rationale a) Is not correct. Selection of tools is a test manager task b) Is correct. See reasons from incorrect answers c) Is not correct. The tester does not decide on the release of the test object d) Is not correct. The tester specifies the test cases, the test manager does the prioritization 5 / 40 5. Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving test conditions and associated test cases from the user story as a way of applying the principle of early QA and test. What test technique are you applying? a) White-box b) Black-box c) Experience-based d) Error guessing Select ONE option. Explanation / Rationale a) Is not correct. Structure-based, or white-box techniques are based on an analysis of the architecture, detailed design, internal structure, or the code of the test object b) Is correct. Behavior-based, or black-box techniques are based on an analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases, user stories, or business processes), which describe functional and non-functional behavior c) Is not correct. Experience-based techniques leverage the experience of developers, testers, and users to determine what should be tested d) Is not correct. Error guessing is a type of experience-based testing, which is not black-box 6 / 40 6. Which of the following is MOST likely to be an example of a PRODUCT risk? a) The expected security features may not be supported by the system architecture b) The developers may not have time to fix all the defects found by the test team c) The test cases may not provide full coverage of the specified requirements d) The performance test environment may not be ready before the system is due for delivery Select ONE option. Explanation / Rationale a) Is correct. If the expected security features are not supported by the system architecture, then the system could be seriously flawed. As the system being produced is the problem here, it is a product risk b) Is not correct. If the developers run over budget, or run out of time, that is a problem with the running of the project – it is a project risk c) Is not correct. If the test cases do not provide full coverage of the requirements, this means the testing may not fulfil the requirements of the test plan – it is a project risk d) Is not correct. If the test environment is not ready, this means the testing may not be done, or it may have to be done on a different environment and it is impacting how the project is run – it is a project risk 7 / 40 7. You have just completed a pilot project for a regression testing tool. You understand the tool much better and have tailored your testing process to it. You have standardized an approach to using the tool and its associated work products. Which of the following is a typical test automation pilot project goal that remains to be carried out? a) Learn more details about the tool b) See how the tool would fit with existing processes and practices c) Decide on standard ways of using, managing, storing, and maintaining the tool and the test assets d) Assess whether the benefits will be achieved at reasonable cost Select ONE option. Explanation / Rationale a) Is not correct. This is an objective for a pilot, but you have achieved it because you understand the tool much better due to the pilot b) Is not correct. This is an objective for a pilot, but you have achieved it because you have tailoring your testing processes c) Is not correct. This is an objective for a pilot, but you have achieved it because you have standardized an approach to using the tool and its associated work products d) Is correct. Assessing the benefits and configuring the metrics collection are the two objectives missing from this list 8 / 40 8. Given the following test activities and tasks: A. Test design B. Test implementation C. Test execution D. Test completion 1. Entering change requests for open defect reports 2. Identifying test data to support the test cases 3. Prioritizing test procedures and creating test data 4. Analyzing discrepancies to determine their cause Which of the following BEST matches the activities with the tasks? a) A-2, B-3, C-4, D-1 b) A-2, B-1, C-3, D-4 c) A-3, B-2, C-4, D-1 d) A-3, B-2, C-1, D-4 Select ONE option. Explanation / Rationale The correct pairing of test activities and tasks is: A. Test design – (2) Identifying test data to support the test cases B. Test implementation – (3) Prioritizing test procedures and creating test data C. Test execution – (4) Analyzing discrepancies to determine their cause D. Test completion – (1) Entering change requests for open defect reports Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 9 / 40 9. Which of the following activities is part of the main activity "test analysis" in the test process? a) Identifying any required infrastructure and tools b) Creating test suites from test scripts c) Analyzing lessons learned for process improvement d) Evaluating the test basis for testability Select ONE option. Explanation / Rationale a) Is not correct. This activity is performed during the test design activity (test design) b) Is not correct. This activity is performed during the test implementation activity (test implementation) c) Is not correct. This activity is performed during the test completion activity (test completion) d) Is correct. This activity is performed during the test analysis activity (test analysis) 10 / 40 10. Which of the following statements CORRECTLY reflects the value of static testing? a) By introducing reviews, we have found that both the quality of specifications and the time required for development and testing have increased b) Using static testing means we have better control and cheaper defect management due to the ease of detecting defects later in the lifecycle c) Now that we require the use of static analysis, missed requirements have decreased and communication between testers and developers has improved d) Since we started using static analysis, we find coding defects that might have not been found by performing only dynamic testing Select ONE option. Explanation / Rationale a) Is not correct. Reviews should increase the quality of specifications, however the time required for development and testing should decrease b) Is not correct. Detecting defects is generally easier earlier in the lifecycle c) Is not correct. Reviews will result in fewer missed requirements and better communication between testers and developers, however this is not true for static analysis d) Is correct. This is a benefit of static analysis 11 / 40 11. Which of the following lists contains only typical exit criteria from testing? a) Reliability measures, test coverage, schedule and status about fixing defect and remaining risks b) Reliability measures, test coverage, degree of tester’s independence and product completeness c) Reliability measures, test coverage, test cost, availability of test environment, time to market and product completeness d) Time to market, remaining defects, tester qualification, availability of testable use cases, test coverage and test cost Select ONE option. Explanation / Rationale a) Is correct. See reasons from incorrect answers b) Is not correct. The “degree of tester’s independence” does not play a role in exit criteria c) Is not correct. “Availability of test environment” is an entry criterion d) Is not correct. “The Qualification of Tester” is not a typical exit criterion 12 / 40 12. You will be invited to a review. The work product to be reviewed is a description of the in-house document creation process. The aim of the description is to present the work distribution between the different roles involved in the process in a way that can be clearly understood by everyone. You will be invited to a checklist-based review. The checklist will also be sent to you. It includes the following points: i. Is the person who performs the activity clearly identified for each activity? ii. Are the entry criteria clearly defined for each activity? iii. Are the exit criteria clearly defined for each activity? iv. Are the supporting roles and their scope of work clearly defined for each activity? In the following we show an excerpt of the work result to be reviewed, for which you should use the checklist above: "After checking the customer documentation for completeness and correctness, the software architect creates the system specification. Once the software architect has completed the system specification, he invites testers and verifiers to the review. A checklist describes the scope of the review. Each invited reviewer creates review comments - if necessary - and concludes the review with an official review done-comment." Which of the following statements about your review is correct? a) Point ii) of the checklist has been violated because it is not clear which condition must be fulfilled to invite to the review b) You notice that in addition to the tester and the verifier, the validator must also be invited. Since this item is not part of your checklist, you do not create a corresponding comment c) Point iii) of the checklist has been violated as it is not clear what marks the review as completed d) Point i) of the checklist has been violated because it is not clear who is providing the checklist for the invitation to the review Select ONE option. Explanation / Rationale a) Is not correct. It is described that the software architect must have completed the system specification b) Is not correct. ‘Checklist-based’, last sentence it is documented that you should also look for defects outside the checklist c) Is not correct. It is described: every reviewer did his review done comment d) Is correct. It is described that a checklist is available, but who provides the checklist? 13 / 40 13. Which one of the following is the description of statement coverage? a) It is a metric, which is the percentage of test cases that have been executed b) It is a metric, which is the percentage of statements in the source code that have been executed c) It is a metric, which is the number of statements in the source code that have been executed by test cases that are passed d) It is a metric, that gives a true/false confirmation if all statements are covered or not Select ONE option. Explanation / Rationale a) Is not correct. Statement coverage measures the percentage of statements exercised by test cases b) Is correct. Statement testing exercises the executable statements in the code. Statement coverage is measured as the number of statements executed by the tests divided by the total number of executable statements in the test object, normally expressed as a percentage c) Is not correct. The coverage does not measure pass/fail d) Is not correct. It is a metric and does not provide true/false statements 14 / 40 14. You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system. Which of the following statements describes this test? a) A functional test during the integration test level b) A non-functional test during the integration test level c) A functional test during the component test level d) A non-functional test during the component test level Select ONE option. Explanation / Rationale a) Is not correct. While this test does match the description of an integration test, it is a non-functional test b) Is correct. This test matches the description of an integration test and it is a non-functional test c) Is not correct. This test does not match the description of a component test and it is not a functional test d) Is not correct. While this test is a non-functional test, it does not match the description of a component test 15 / 40 15. Which of the following is an example of a failure in a car cruise control system? a) The developer of the system forgot to rename variables after a cut-and-paste operation b) Unnecessary code that sounds an alarm when reversing was included in the system c) The system stops maintaining a set speed when the radio volume is increased or decreased d) The design specification for the system wrongly states speeds Select ONE option. Explanation / Rationale a) Is not correct. This is an example of a mistake made by the developer b) Is not correct. This is an example of a defect (something wrong in the code that may cause a failure) c) Is correct. This is a deviation from the expected functionality - a cruise control system should not be affected by the radio d) Is not correct. This is an example of a defect (something wrong in a specification that may cause a failure if subsequently implemented) 16 / 40 16. The reviews being used in your organization have the following attributes: • There is a role of a scribe • The purpose is to detect potential defects • The review meeting is led by the author • Reviewers find potential defects by individual review • A review report is produced Which of the following review types is MOST likely being used? a) Informal Review b) Walkthrough c) Technical Review d) Inspection Select ONE option. Explanation / Rationale Considering the attributes: • There is a role of a scribe – specified for walkthroughs, technical reviews, and inspections; thus, the reviews being performed cannot be informal reviews • The purpose is to detect potential defects – the purpose of detecting potential defects is specified for all types of review. • The review meeting is led by the author – this is not allowed for inspections and is typically not the author for technical reviews, but is part of walkthroughs, and allowed for informal reviews • Reviewers find potential issues by individual review - all types of reviews can include individual review (even informal reviews) • A review report is produced - all types of reviews can produce a review report, although it would be less likely for an informal review Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 17 / 40 17. As a test manager you are responsible for testing the following parts of requirements: • R1 - Process anomalies • R2 - Synchronization • R3 - Approval • R4 - Problem solving • R5 - Financial data • R6 - Diagram data • R7 - Changes to the user profile Notation: Logical requirement dependencies (A -> B means, that B depends on A): Which one of the following options structures the test execution schedule according to the requirement dependencies? a) R1 ; R3 ; R4 ; R7 ; R2 ; R5 ; R6 b) R1 ; R3 ; R2 ; R4 ; R7 ; R5 ; R6 c) R1 ; R3 ; R2 ; R5 ; R6 ; R4 ; R7 d) R1 ; R2 ; R5 ; R6 ; R3 ; R4 ; R7 Select ONE option. Explanation / Rationale a) Is not correct. R4 is dependent on R2, so R2 should be tested before R4 b) Is not correct. R4 is dependent on R2, R5 and R6, so R5 and R6 should be tested before R4 c) Is correct. The tests are specified in a sequence that takes the dependencies into account d) Is not correct. R2 is dependent on R3, so R3 should be tested before R2 18 / 40 18. The following statement refers to decision coverage: “When the code contains only a single ‘if’ statement and no loops or CASE statements, and its execution is not nested within the test, any single test case we run will result in 50% decision coverage.” Which of the following statement is correct? a) The statement is true. Any single test case provides 100% statement coverage and therefore 50% decision coverage b) The statement is true. Any single test case would cause the outcome of the “if” statement to be either true or false c) The statement is false. A single test case can only guarantee 25% decision coverage in this case d) The statement is false. The statement is too broad. It may be correct or not, depending on the tested software Select ONE option. Explanation / Rationale a) Is not correct. While the given statement is true, the explanation is not. The relationship between statement and decision coverage is misrepresented b) Is correct. Since any test case will cause the outcome of the “if” statement to be either TRUE or FALSE, by definition we achieved 50% decision coverage c) Is not correct. A single test case can give more than 25% decision coverage, this means according to the statement above always 50 % decision coverage d) Is not correct. The statement is specific and always true, because each test case achieves 50 % decision coverage 19 / 40 19. You are working as a tester on an Agile team and have participated in over two dozen user story refinement sessions with the product owner and the developers on the team at the start of each iteration. As the reviews have gotten more effective at detecting defects in user stories and the product owner more proficient at correcting those defects, you and the team notice that the team’s velocity, as shown in your burndown charts, has started to increase. Which of the following is a benefit of static testing that is MOST DIRECTLY related to the team’s increased velocity? a) Increasing total cost of quality b) Reducing testing cost c) Increasing development productivity d) Reducing total cost of quality Select ONE option. Explanation / Rationale a) Is not correct. Reviews reduce, not increase, the total cost of quality b) Is not correct. Increasing velocity is a sign of increasing development productivity overall, not just testing, so B only partially applies c) Is correct. Velocity is a way of measuring productivity in Agile development d) Is not correct. The benefit mentioned here has to do with increasing overall development team productivity 20 / 40 20. Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules R1 and R4, which are shown below: Given the following additional test cases: Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules R1 and R4)? a) DT1, DT2 b) DT2, DT3 c) DT2, DT4 d) DT3, DT4 Select ONE option. Explanation / Rationale The complete decision table is shown below: To achieve full coverage, test cases covering rules 2 and 3 are needed. DT4 satisfies the constraints of rule 2, while DT2 satisfies the constraints of rule 3. Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 21 / 40 21. A tester participated in a discussion about proposed database structure. The tester identified a potential performance problem related to certain common user searches. This possible problem was explained to the development team. Which of the following is a testing contribution to success that BEST matches this situation? a) Enabling required tests to be identified at an early stage b) Ensuring processes are carried out properly c) Reducing the risk of fundamental design defects d) Reducing the risk of untestable functionality Select ONE option. Explanation / Rationale a) Is not correct. While enabling required tests to be identified in an early stage is a testing contribution to success, there is no indication in the question that the tester did so b) Is not correct. Ensuring processes are carried out properly is part of quality assurance, not a testing contribution to success c) Is correct. Reducing the risk of fundamental design defects is a testing contribution to success. Database structure is related to design, and performance problems can be a significant product risk d) Is not correct. While reducing the risk of untestable functionality is a testing contribution to success, the tester here has not identified something untestable, but rather something that would result in performance tests failing 22 / 40 22. Consider the following state transition diagram for a credit-card only, unattended gasoline pump: Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need? a) 4 b) 7 c) 1 d) Infinite Select ONE option. Explanation / Rationale Each transition must be traversed at least once. To do so, the first test can cover the happy path, a successful purchase, the next test cancels, or timeout from waiting for pumping, the next test cancels, or timeout from waiting for fuel type, and the last test the insertion of an invalid credit card. While the order is immaterial, fewer than four tests fail to cover one of the transitions inbound to waiting for customer or violates the rules about where a test starts or ends. More than four tests include tests that re-traverse already-covered transitions. Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 23 / 40 23. Consider the following testing activities: 1. Selecting regression tests 2. Evaluating completeness of test execution 3. Identifying which user stories have open defect reports 4. Evaluating whether the number of tests for each requirement is consistent with the level of product risk Consider the following ways traceability can help testing: A. Improve understandability of test status reports to include status of test basis items B. Make testing auditable C. Provide information to assess process quality D. Analyze the impact of changes Which of the following best matches the testing activity with how traceability can assist that activity? a) 1D, 2B, 3C, 4A b) 1B, 2D, 3A, 4C c) 1D, 2C, 3A, 4B d) 1D, 2B, 3A, 4C Select ONE option. Explanation / Rationale Traceability assists with: • Selecting regression tests in terms of analyzing the impact of changes (1D) • Evaluating completeness of test execution which makes testing auditable (2B) • Identifying which user stories have open defect reports which improves understandability of test status reports to include status of test basis items (3A) • Evaluating whether the number of tests for each requirement is consistent with the level of product risk which provides information to assess test process quality (i.e., alignment of test effort with risk) (4C) Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 24 / 40 24. Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel: Suppose that there are two equivalence partitions for the condition where “Account/password okay” is not true, one where the account is invalid and another where the account is valid, but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where “Account/password okay” is true, where both the account and password are valid. If you want to design tests to cover the equivalence partitions for “Account/password okay” and also for this portion of the decision table, what is the minimum number of tests required? a) 2 b) 3 c) 4 d) 9 Select ONE option. Explanation / Rationale There is at least one test for each column in the decision table. However, column one requires two tests, one where the account is invalid and another where the account is valid, but the password is invalid, so the minimum number of tests is four. Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 25 / 40 25. Which statement about the relationship between statement coverage and decision coverage is true? a) 100% decision coverage also guarantees 100% statement coverage b) 100% statement coverage also guarantees 100% decision coverage c) 50% decision coverage also guarantees 50% statement coverage d) Decision coverage can never reach 100% Select ONE option. Explanation / Rationale a) Is correct. The statement is true. Achieving 100% decision coverage guarantees 100% statement coverage b) Is not correct. The statement is false because achieving 100 % statement coverage does not in any case mean that the decision coverage is 100% c) Is not correct. The statement is false because we can only do statements about 100% values d) Is not correct. The statement is false 26 / 40 26. Which one of the following is the BEST definition of an incremental development model? a) Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added b) A phase in the development process should begin when the previous phase is complete c) Testing is viewed as a separate phase which takes place after development has been completed d) Testing is added to development as an increment Select ONE option. Explanation / Rationale a) Is correct. Incremental development involves establishing requirements, designing, building, and testing a system in pieces b) Is not correct. This is a sequential model c) Is not correct. This describes the waterfall model d) Is not correct. Testing alone is not an increment/additional step in the development 27 / 40 27. What is checklist-based testing? a) A test technique in which tests are derived based on the tester's knowledge of past faults, or general knowledge of failures b) A test technique based on an analysis of the specification of a component or system c) An experience-based test technique whereby the experienced tester uses a list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product must be verified d) An approach to testing where the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests Select ONE option. Explanation / Rationale a) Is not correct. This is error guessing b) Is not correct. This is black-box test technique c) Is correct. See reasons from incorrect answers d) Is not correct. This is exploratory testing 28 / 40 28. Which of the following is a typical test objective? a) Preventing defects b) Repairing defects c) Comparing actual results to expected results d) Analyzing the cause of failure Select ONE option. Explanation / Rationale a) Is correct. This is an objective listed b) Is not correct. This is debugging c) Is not correct. This is an activity within the test execution group of activities within the test process d) Is not correct. This is part of debugging 29 / 40 29. A batch application has been in production unchanged for over two years. It runs overnight once a month to produce statements that will be e-mailed to customers. For each customer, the application goes through every account and lists every transaction on that account in the last month. It uses a nested-loop structure to process customers (outer loop), each customer’s accounts (middle loop), and each account’s transactions (inner loop). One night, the batch application terminates prematurely, failing to e-mail statements to some customers, when it encounters a customer with one account for which no transactions occurred in the last month. This is a very unusual situation and has not occurred in the years since this application was placed in production. While fixing the defect, a programmer asks you to recommend test techniques that are effective against this kind of defect. Which of the following test techniques would most likely have been able to detect the underlying defect? a) Decision testing b) Statement testing c) Checklist-based testing d) Error guessing Select ONE option. Explanation / Rationale a) Is correct. For a loop construct, statement coverage only requires that all statements within the loop are executed, but decision coverage requires testing of both the conditions where the loop is executed and when it is bypassed b) Is not correct. For a loop construct, statement coverage only requires that all statements within the loop are executed, but decision coverage requires testing of both the conditions where the loop is executed and when it is bypassed c) Is not correct. Checklists are based on experience, defect and failure data, knowledge about what is important for the user, and an understanding of why and how software fails, none of which is likely to have led to the inclusion of such a test condition d) Is not correct. While it is possible that someone might anticipate a developer making the mistaken assumption that there would always be at least one transaction in a month for every account, only decision testing guarantees testing of that condition 30 / 40 30. As a result of risk analysis, more testing is being directed to those areas of the system under test where initial testing found more defects than average. Which of the following testing principles is being applied? a) Beware of the pesticide paradox b) Testing is context dependent c) Absence-of-errors is a fallacy d) Defects cluster together Select ONE option. Explanation / Rationale a) Is not correct. ‘Beware of the pesticide paradox’ is concerned with re-running the same tests and their fault-finding effectiveness decreasing b) Is not correct. This testing principle is concerned with performing testing differently based on the context (e.g., games vs safety-critical) c) Is not correct. This testing principle is concerned with the difference between a tested and fixed system and a validated system. No ‘errors’ does not mean the system is fit for use d) Is correct. If clusters of defects are identified (areas of the system containing more defects than average), then testing effort should be focused on these areas 31 / 40 31. You are testing an unattended gasoline pump that only accepts credit cards. Once the credit card is validated, the pump nozzle placed into the tank, and the desired grade selected, the customer enters the desired amount of fuel in gallons using the keypad. The keypad only allows the entry of digits. Fuel is sold in tenths (0.1) of a gallon, up to 50.0 gallons. Which of the following is a minimum set of desired amounts that covers the equivalence partitions for this input? a) 0.0, 20.0, 60.0 b) 0.0, 0.1, 50.0 c) 0.0, 0.1, 50.0, 70.0 d) -0.1, 0.0, 0.1, 49.9, 50.0, 50.1 Select ONE option. Explanation / Rationale There are three equivalence partitions: • No sale completed (0.0 gallons) • A valid sale occurs (0.1 to 50.0 gallons) • An invalid amount is selected (50.1 or more gallons) Thus: a) Is correct. This set of input values has exactly one test per equivalence partition b) Is not correct. This set of input values has does not cover the invalid amount partition c) Is not correct. This set of input values has two tests for the valid sale equivalence partition, which is not the minimum d) Is not correct. This set of input values covers the three-point boundary values for the two boundaries, not the minimum number required to cover the equivalence partitions 32 / 40 32. Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization? a) The need to evaluate how the tool fits with existing processes and practices and determining what would need to change b) The need to evaluate the test automation skills and training, mentoring and coaching needs of the testers who will use the tool c) The need to evaluate whether the tool provides the required functionality and does not duplicate existing test tools d) The need to evaluate the tool vendor in terms of the training and other support they provide Select ONE option. Explanation / Rationale a) Is correct b) Is not correct. The evaluation of the test automation skills and training, mentoring and coaching needs of the testers who will use the tool should have been performed as part of the tool selection activity c) Is not correct. The decision on whether the tool provides the required functionality and does not duplicate existing tools should have been performed as part of the tool selection activity d) Is not correct. The evaluation of the tool vendor in terms of the training and other support they provide should have been performed as part of the tool selection activity 33 / 40 33. Which of the following statements is true? a) Impact analysis is useful for confirmation testing during maintenance testing b) Confirmation testing is useful for regression testing during system design c) Impact analysis is useful for regression testing during maintenance testing d) Confirmation testing is useful for impact analysis during maintenance testing Select ONE option. Explanation / Rationale a) Is not correct. While impact analysis is useful during maintenance testing it is not necessary for confirmation testing since confirmation testing is on the intended effects of a bug fix or other change b) Is not correct. Confirmation and regression testing are two separate activities, and confirmation testing is not part of system design c) Is correct. Impact analysis can be used to select regression tests for maintenance testing d) Is not correct. Confirmation testing is not part of impact analysis, though confirmation testing will typically happen during maintenance testing 34 / 40 34. Which of the following metrics would be MOST useful to monitor during test execution? a) Percentage of executed test cases b) Average number of testers involved in the test execution c) Coverage of requirements by source code d) Percentage of test cases already created and reviewed Select ONE option. Explanation / Rationale a) Is correct. Test case execution (e.g., number of test cases run/not run, and test cases passed/failed) b) Is not correct. This metric can be measured, but its value is low. The number of testers does not give any information about the quality of the test object or test progress c) Is not correct. the coverage of requirements by source code is not measured during test execution. At most, the TEST(!) coverage of the code or requirements is measured d) Is not correct. This metric is part of test preparation and not test execution 35 / 40 35. Which of the following is a true statement about exploratory testing? a) More experienced testers who have tested similar applications and technologies are likely to do better than less experienced testers at exploratory testing b) Exploratory testing does not identify any additional tests beyond those that would result from formal test techniques c) The time required to complete an exploratory testing session cannot be predicted in advance d) Exploratory testing can involve the use of black-box techniques but not white-box techniques Select ONE option. Explanation / Rationale a) Is correct. Exploratory testing is a form of experience-based testing, which benefits from the skills and experience of the tester b) b) Is not correct. Exploratory testing is useful to complement formal testing techniques c) Is not correct. In session-based test management, exploratory testing is conducted within a defined time-box, and the tester uses a test charter containing test objectives to guide the testing d) Is not correct. Exploratory testing can incorporate the use of other black-box, white-box, and experience-based techniques referenced in this syllabus 36 / 40 36. Mr. Test has been testing software applications on mobile devices for a period of 5 years. He has a wealth of experience in testing mobile applications and achieves better results in a shorter time than others. Over several months, Mr. Test did not modify the existing automated test cases and did not create any new test cases. This leads to fewer and fewer defects being found by executing the tests. What principle of testing did Mr. Test not observe? a) Testing depends on the environment b) Exhaustive testing is not possible c) Repeating of same tests will not find new defects d) Defects cluster together Select ONE option. Explanation / Rationale a) Is not correct. Testing is context dependent, regardless of it being manual or automated (principle #6), but does not result in detecting a decreasing number of faults as described above b) Is not correct. Exhaustive testing is impossible, regardless of the amount of effort put into testing (principle #2) c) Is correct. Principle #5 says “If the same tests are repeated over and over again, eventually these tests no longer find any new defects. To detect new defects, existing tests and test data may need changing, and new tests may need to be written.” Automated regression testing of the same test cases will not bring new findings d) Is not correct. ”Defect cluster together” (principle #4). A small number of modules usually contain most of the defects, but this does not mean that fewer and fewer defects will be found 37 / 40 37. Match the following test work products (1-4) with the right description (A-D). 1. Test suite 2. Test case 3. Test script 4. Test charter A. A set of test scripts to be executed in a specific test run B. A set of instructions for the execution of a test C. Contains expected results D. Documentation of test activities in session-based exploratory testing a) 1A, 2C, 3B, 4D b) 1D, 2B, 3A, 4C c) 1A, 2C, 3D, 4B d) 1D, 2C, 3B, 4A Select ONE option. Explanation / Rationale Glossary defines the following tests as: • Test suite: “A set of test scripts or test procedures to be executed in a specific test run.” (1A) • Test case: “A set of preconditions, inputs, actions (where applicable), expected results and post conditions, developed based on test conditions” (2C) • Test script: “A sequence of instructions for the execution of a test” (3B) • Test charter: “Documentation of test activities in session-based exploratory testing” (4D) Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 38 / 40 38. You are testing a mobile app that allows customers to access and manage their bank accounts. You are running a test suite that involves evaluating each screen and each field on each screen against a general list of user interface best practices, derived from a popular book on the topic, that maximize attractiveness, ease-of-use, and accessibility for such apps. Which of the following options BEST categorizes the test technique you are using? a) Specification-based b) Exploratory c) Checklist-based d) Error guessing Select ONE option. Explanation / Rationale a) Is not correct. The book provides general guidance, and is not a formal requirements document, a specification, or a set of use cases, user stories, or business processes b) Is not correct. While you could consider the list as a set of test charters, it more closely resembles the list of test conditions c) Is correct. The list of user interface best practices is the list of test conditions d) Is not correct. The tests are not focused on failures that could occur, but rather on knowledge about what is important for the user, in terms of usability 39 / 40 39. Which of the following statements BEST compares the purposes of confirmation testing and regression testing? a) The purpose of regression testing is to ensure that all previously run tests still work correctly, while the purpose of confirmation testing is to ensure that any fixes made to one part of the system have not adversely affected other parts b) The purpose of confirmation testing is to check that a previously found defect has been fixed, while the purpose of regression testing is to ensure that no other parts of the system have been adversely affected by the fix c) The purpose of regression testing is to ensure that any changes to one part of the system have not caused another part to fail, while the purpose of confirmation testing is to check that all previously run tests still provide the same results as before d) The purpose of confirmation testing is to confirm that changes to the system were made successfully, while the purpose of regression testing is to run tests that previously failed to ensure that they now work correctly Select ONE option. Explanation / Rationale a) Is not correct. Although the description of regression testing is largely correct, the description of confirmation testing (which should be testing a defect has been fixed) is not correct b) Is correct. The descriptions of both confirmation and regression testing match the intent of those in the syllabus c) Is not correct. Although the description of regression testing is largely correct, the description of confirmation testing (re-running all previously run tests to get the same results) is not correct, as the purpose of confirmation testing is to check that tests that previously failed now pass (the fix worked) d) Is not correct. Although the description of confirmation testing is largely correct, the description of regression testing (re-running tests that previously failed) is not correct (this is a more detailed description of confirmation testing) 40 / 40 40. A company's employees are paid bonuses if they work more than a year in the company and achieve a target which is individually agreed before. These facts can be shown in a decision table: Which of the following test cases represents a situation that can happen in real life, and is missing in the above decision table? a) Condition1 = YES, Condition2 = NO, Condition3 = YES, Action= NO b) Condition1 = YES, Condition2 = YES, Condition3 = NO, Action= YES c) Condition1 = NO, Condition2 = NO, Condition3 = YES, Action= NO d) Condition1 = NO, Condition2 = YES, Condition3 = NO, Action= NO Select ONE option. Explanation / Rationale a) Is not correct. If there was no agreement on targets, it is impossible to reach the targets. Since this situation can´t occur, this is not a scenario happening in reality b) Is not correct. The test case is objectively wrong, since under these conditions no bonus is paid because the agreed target was not reached c) Is not correct. There was no agreement on targets, it is impossible to reach the targets. Since this situation can´t occur, this is not a scenario happening in reality d) Is correct. The test case describes the situation that the too short period of employment and the non-fulfilment of the agreed target leads to non-payment of the bonus. This situation can occur in practice but is missing in the decision table 0% Restart quiz