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 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 2 / 40 2. During a period of intensive project overtime, a system architecture document is sent to various project participants, announcing a previously unplanned technical review to occur in one week. No adjustments are made to the participants’ list of assigned tasks. Based on this information alone, which of the following is a factor for review success that is MISSING? a) Appropriate review type b) Adequate time to prepare c) Sufficient metrics to evaluate the author d) Well-managed review meeting Select ONE option. Explanation / Rationale a) Is not correct. Technical reviews are appropriate for technical documents such as a system architecture b) Is correct. Adequate time for preparation is important, but people are working overtime and no adjustments are made for this new set of tasks c) Is not correct. Gathering metrics from a review to evaluate participants is a factor that leads to failure, not success, because it destroys trust d) Is not correct. A well-managed review meeting is important, but there is no reason to think the review meeting will not be well managed based on the information provided 3 / 40 3. 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 4 / 40 4. Consider the following list of undesirable outcomes that could occur on a mobile app development effort: A. Incorrect totals on screens B. Change to acceptance criteria during acceptance testing C. Users find the soft keyboard too hard to use with your app D. System responds too slowly to user input during search string entry E. Testers not allowed to report test results in daily standup meetings Which of the following properly classifies these outcomes as project and product risks? a) Product risks: B, E; Project risks: A, C, D b) Product risks: A, C, D; Project risks: B, E c) Product risks: A, C, D, E Project risks: B d) Product risks: A, C Project risks: B, D, E Select ONE option. Explanation / Rationale Product risks exist when a work product may fail to satisfy legitimate needs, while project risks are situations that could have a negative impact on the project’s ability to achieve its objectives. So: A. Incorrect totals on screens = product risk B. Change to acceptance criteria during acceptance testing = project risk C. Users find the soft keyboard too hard to use with your app = product risk D. System responds too slowly to user input during search string entry = product risk E. Testers not allowed to report test results in daily standup meetings = project risk Thus: a) Is not correct. This list is entirely backwards b) Is correct c) Is not correct. While E is about product quality and product risks, the failure to communicate test results is a project risk per the syllabus d) Is not correct. Product risks can be functional and non-functional, so d is also a product risk 5 / 40 5. 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) 6 / 40 6. 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 7 / 40 7. Which of the following statements on the use of checklists in a formal review is CORRECT? a) As part of the review planning, the reviewers create the checklists needed for the review b) As part of the issue communication, the reviewers fill in the checklists provided for the review c) As part of the review meeting, the reviewers create defect reports based on the checklists provided for the review d) As part of the review initiation, the reviewers receive the checklists needed for the review Select ONE option. Explanation / Rationale a) Is not correct. During planning it is decided whether checklists are used. The preparation of the checklists is not part of the planning. In addition, the reviewers are neither involved in the planning, nor responsible for the creation of the checklists b) Is not correct. During issue communication, any potential defects that have been identified in the individual review are communicated. The completion of checklists by the reviewers already takes place, if at all, during individual review c) Is not correct. During review session, the reviewers communicate any potential defects of the work product that they did identify during the individual review. Defect reports are only created during the fixing and reporting activity d) Is correct. Initiating the review (“Kick-off”) involves distributing the work product and other materials, like checklists 8 / 40 8. 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 9 / 40 9. 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 10 / 40 10. During a project following Agile methods, you find a discrepancy between the developer’s interpretation of an acceptance criteria and the product owner’s interpretation, which you bring up during a user story refinement session. Which of the following is a benefit of test independence exemplified by this situation? a) Recognizing different kinds of failures b) Taking primary responsibility for quality c) Removing a defect early d) Challenging stakeholder assumptions Select ONE option. Explanation / Rationale a) Is not correct. While recognizing different kinds of failures is a benefit of tester independence, in the scenario here no code yet exists that can fail, and the problem is that the developer and product owner are both assuming different things about the acceptance criteria b) Is not correct. Developers losing a sense of responsibility for quality is a drawback, not a benefit c) Is not correct. While the effect of the discovery of this disagreement is the earlier removal of the defect, prior to coding, defects can be discovered early by various people, not just independent testers d) Is correct. Challenging stakeholder assumptions is a benefit of tester independence, and here the developer and product owner are both assuming different things about the acceptance criteria 11 / 40 11. Which of the following options are roles in a formal review? a) Developer, Moderator, Review leader, Reviewer, Tester b) Author, Moderator, Manager, Reviewer, Developer c) Author, Manager, Review leader, Reviewer, Designer d) Author, Moderator, Review leader, Reviewer, Scribe Select ONE option. Explanation / Rationale a) Is not correct. Tester and developer are NOT roles in a formal review b) Is not correct. Developer is NOT a role in a formal review c) Is not correct. Designer is NOT a role in a formal review d) Is correct. See reasons from incorrect answers 12 / 40 12. Which of the following should NOT be a trigger for maintenance testing? a) Decision to test the maintainability of the software b) Decision to test the system after migration to a new operating platform c) Decision to test if archived data is possible to be retrieved d) Decision to test after “hot fixes” Select ONE option. Explanation / Rationale a) Is correct. This is maintainability testing, not maintenance testing b) Is not correct. This is a trigger for maintenance testing: Operational tests of the new environment as well as of the changed software c) Is not correct. This is the trigger for maintenance testing: testing restore/retrieve procedures after archiving for long retention periods d) Is not correct. This is the trigger for maintenance testing: Reactive modification of a delivered software product to correct emergency defects that have caused actual failures 13 / 40 13. For which of the following situations is exploratory testing suitable? a) When time pressure requires speeding up the execution of tests already specified b) When the system is developed incrementally, and no test charter is available c) When testers are available who have enough knowledge of similar applications and technologies d) When an advanced knowledge of the system already exists, and evidence is to be if it should be tested intensively Select ONE option. Explanation / Rationale a) Is not correct. Exploratory testing is not suitable to speed up tests, which are already specified. It is most useful when there are few or inappropriate specified requirements or significant time pressure on testing b) Is not correct. The absence of a test charter, which may have been derived from the test analysis, is a poor precondition for the use of exploratory testing c) Is correct. Exploratory tests should be performed by experienced testers with knowledge of similar applications and technologies d) Is not correct. Explorative testing alone is not suitable to provide evidence that the test was very intensive, instead the evidence is provided in combination with other test methods 14 / 40 14. Which activities are carried out within the planning of a formal review? a) Collection of metrics for the evaluation of the effectiveness of the review b) Answer any questions the participants may have c) Definition and Verification of fulfillment of entry criteria for the review d) Evaluation of the review findings against the exit criteria Select ONE option. Explanation / Rationale a) Is not correct. ‘Collection of metrics’ belongs to the main activity “Fixing and Reporting” b) Is not correct. ‘Answer any question.’ belongs to the main activity “Initiate Review” c) Is correct. The checking of entry criteria takes place in the planning of a formal review d) Is not correct. The evaluation of the review findings against the exit criteria belongs to the main activity “Issue communication and analysis” 15 / 40 15. Which of the following BEST explains a benefit of independent testing? a) The use of an independent test team allows project management to assign responsibility for the quality of the final deliverable to the test team, so ensuring everyone is aware that quality is the test team’s overall responsibility b) If a test team external to the organization can be afforded, then there are distinct benefits in terms of this external team not being so easily swayed by the delivery concerns of project management and the need to meet strict delivery deadlines c) An independent test team can work totally separately from the developers, need not be distracted with changing project requirements, and can restrict communication with the developers to defect reporting through the defect management system d) When specifications contain ambiguities and inconsistencies, assumptions are made on their interpretation, and an independent tester can be useful in questioning those assumptions and the interpretation made by the developer Select ONE option. Explanation / Rationale a) Is not correct. Quality should be the responsibility of everyone working on the project and not the sole responsibility of the test team b) Is not correct. First, it is not a benefit if an external test team does not meet delivery deadlines, and second, there is no reason to believe that external test teams will feel they do not have to meet strict delivery deadlines c) Is not correct. It is bad practice for the test team to work in complete isolation, and we would expect an external test team to be concerned with changing project requirements and communicate well with developers d) Is correct. Specifications are never perfect, meaning that assumptions will have to be made by the developer. An independent tester is useful in that they can challenge and verify the assumptions and subsequent interpretation made by the developer 16 / 40 16. 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 17 / 40 17. Which of the following statements correctly describes the difference between testing and debugging? a) Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities b) Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures c) Testing removes faults; but debugging removes defects that cause the faults d) Dynamic testing prevents the causes of failures; debugging removes the failures Select ONE option. Explanation / Rationale a) Is not correct. Testing does not identify the source of defects, debugging identifies the source of defects b) Is correct. Dynamic testing can show failures that are caused by defects in the software. Debugging eliminates the defects, which are the source of failures c) Is not correct. Testing does not remove faults, but debugging removes faults, which is synonyms for defects, that may cause the failures d) Is not correct. Dynamic testing does not directly prevent the causes of failures (defects) but detects the presence of defects 18 / 40 18. 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 19 / 40 19. 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 20 / 40 20. Which one of the following test tools is mostly suitable for developers rather than testers? a) Requirement management tools b) Configuration management tools c) Static analysis tools d) Performance testing tools Select ONE option. Explanation / Rationale a) Is not correct. Requirement management tools are not particularly suitable for developers b) Is not correct. Configuration management tools are not particularly suitable for developers c) Is correct. Static analysis tools are especially suitable for developers d) Is not correct. Performance testing tools are not better suited for developers than for testers 21 / 40 21. During an Agile development effort, a product owner discovers a previously unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run? a) Confirmation tests b) Regression tests c) Functional tests d) Change-related tests Select ONE option. Explanation / Rationale The change in behavior may be either functional or non-functional you need to run change-related tests, some of which are confirmation tests and others are regression tests. Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 22 / 40 22. You are working as a tester on an online banking system. Availability is considered one of the top products (quality) risks for the system. You find a reproducible failure that results in customers losing their connections to the bank Web site when transferring funds between common types of accounts and being unable to reconnect for between three and five minutes. Which of the following would be a good summary for a defect report for this failure, one that captures both the essence of the failure and its impact on stakeholders? a) Web server logs show error 0x44AB27 when running test 07.005, which is not an expected error message in /tmp filesystem b) Developers have introduced major availability defect which will seriously upset our customers c) Performance is slow and reliability flaky under load d) Typical funds-transfer transaction results in termination of customer session, with a delay in availability when attempting to reconnect Select ONE option. Explanation / Rationale a) Is not correct. While this information is useful for developers, it does not provide managers with a sense of the impact on product quality b) Is not correct. This summary does not provide developers or managers with the necessary information and attacks the developers c) Is not correct. This summary does not provide developers or managers with the necessary information and attacks the developers d) Is correct. This summary gives a good sense of the failure and its impact 23 / 40 23. Which of the following descriptions of decision coverage is CORRECT? a) Decision coverage is a measure of the percentage of possible paths through the source code exercised by tests b) Decision coverage is a measure of the percentage of business flows through the component exercised by tests c) Decision coverage is a measure of the ‘if’ statements in the code that are exercised with both the true and false outcomes d) Decision coverage is a measure of the proportion of decision outcomes in the source code exercised by tests Select ONE option. Explanation / Rationale a) Is not correct. A path through source code is one potential route through the code from the entry point to the exit point that could exercise a range of decision outcomes. Two different paths may exercise all but one of the same decision outcomes, and by just changing a single decision outcome a new path is followed. Test cases that would achieve decision coverage are typically a tiny subset of the test cases that would achieve path coverage. In practice, most non-trivial programs (and all programs with unconstrained loops, such as ‘while’ loops) have a potentially infinite number of possible paths through them and so measuring the percentage covered is practically infeasible b) Is not correct. Coverage of business flows can be a focus of use case testing, but use cases rarely cover a single component. It may be possible to cover the decisions within business flows, but only if they were specified in enough detail, however this option only suggests coverage of “business flows” as a whole. Even if business flows would cover some decisions, the measure “Decision Coverage” don’t measure the percentage of business flows, but the percentage of decision outcomes exercised by the business flows c) Is not correct. Achieving full decision coverage does require all ‘if’ statements to be exercised with both true and false outcomes, however, there are typically several other decision points in the code (e.g., ‘case’ statements and the code controlling loops) that also need to be taken into consideration when measuring decision coverage d) Is correct. Decision coverage is a measure of the proportion of decision outcomes exercised (normally presented as a percentage) 24 / 40 24. Which of the following statements comparing component testing and system testing is TRUE? a) Component testing verifies the functionality of software modules, program objects, and classes that are separately testable, whereas system testing verifies interfaces between components and interactions between different parts of the system b) Test cases for component testing are usually derived from component specifications, design specifications, or data models, whereas test cases for system testing are usually derived from requirement specifications or use cases c) Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics d) Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system Select ONE option. Explanation / Rationale a) Is not correct. System testing does not test interfaces between components and interactions between different parts of the system; this is a target of integration tests b) Is correct. Examples of work products that can be used as a test basis for component testing include detailed design, code, data model, component specifications. Examples of work products for system testing include system and software requirement specifications (functional and non-functional) use cases c) Is not correct. Component testing does not ONLY focus on functional characteristics d) Is not correct. Component tests are also executed by developers, whereas system testing typically is the responsibility of (independent) testers 25 / 40 25. Which of the following is an example of a task that can be carried out as part of the test process? a) Analyzing a defect b) Designing test data c) Assigning a version to a test item d) Writing a user story Select ONE option. Explanation / Rationale a) Is not correct. Analyzing a defect is part of debugging, not testing b) Is correct. Creating test data is a test implementation task c) Is not correct. While a tester may need to identify a test item’s version for results reporting purposes, assigning a test item’s version is part of configuration management d) Is not correct. Writing a user story is not a testing activity and should be done by the product owner 26 / 40 26. 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 27 / 40 27. You are engaged in planning a test effort for a new mobile banking application. As part of estimation, you first meet with the proposed testers and others on the project. The team is well-coordinated and has already worked on similar projects. To verify the resulting estimate, you then refer to some industry averages for testing effort and costs on similar projects, published by a reputable consultant. Which statement accurately describes your estimation approach? a) A simultaneous expert-based and metrics-based approach b) Primarily an expert-based approach, augmented with a metrics-based approach c) Primarily a metrics-based approach, augmented with an expert-based approach d) Primarily planning poker, checked by velocity from burndown charts Select ONE option. Explanation / Rationale a) Is not correct. The two methods are used sequentially, not simultaneously b) Is correct. The primary sources of information come from the experienced testers, who are the experts. The consultant’s industry averages augment the original estimate from published metrics c) Is not correct. The expert-based approach is the primary approach, augmented by a metrics-based approach d) Is not correct. We do not know if this project is following Agile methods, and burndown charts do not come from external consultants 28 / 40 28. 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 29 / 40 29. Which of the following tasks is MOST LIKELY to be performed by the test manager? a) Write test summary reports based on the information gathered during testing b) Review tests developed by others c) Prepare and acquire test data d) Analyze, review, and assess requirements, specifications, and models for testability Select ONE option. Explanation / Rationale a) Is correct. One of the typical tasks of a test manager b) Is not correct. One of the typical tasks of a tester c) Is not correct. One of the typical tasks of a tester d) Is not correct. One of the typical tasks of a tester 30 / 40 30. 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 31 / 40 31. A mass market operating system software product is designed to run on any PC hardware with an x86-family processor. You are running a set of tests to look for defects related to support of the various PCs that use such a processor and to build confidence that important PC brands will work. What type of test are you performing? a) Performance test b) Processor test c) Functional test d) Portability test Select ONE option. Explanation / Rationale a) Is not correct. The test described is a non-functional test, it is a portability test, not a performance test b) Is not correct. Processor test is not a defined test type c) Is not correct. The test described is a non-functional test, specifically a portability test d) Is correct. Testing supported devices is a non-functional test, specifically a portability test 32 / 40 32. Which of the following statements BEST describes how test cases are derived from a use case? a) Test cases are created to exercise defined basic, exceptional and error behaviors performed by the system under test in collaboration with actors b) Test cases are derived by identifying the components included in the use case and creating integration tests that exercise the interactions of these components c) Test cases are generated by analyzing the interactions of the actors with the system to ensure the user interfaces are easy to use d) Test cases are derived to exercise each of the decision points in the business process flows of the use case, to achieve 100% decision coverage of these flows Select ONE option. Explanation / Rationale a) Is correct. This explains that each use case specifies some behavior that a subject can perform in collaboration with one or more actors. It also (later) explains that tests are designed to exercise the defined behaviors (basic, exceptional and errors) b) Is not correct. Use cases normally specify requirements, and so do not ‘include’ the components that will implement them c) Is not correct. Tests based on use cases do exercise interactions between the actor and the system, but they are focused on the functionality and do not consider the ease of use of user interfaces d) Is not correct. Tests do cover the use case paths through the use case, but there is no concept of decision coverage of these paths, and certainly not of business process flows 33 / 40 33. 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 34 / 40 34. Which of the following is a defect rather than a root cause in a fitness tracker? a) Because the author of the requirements was unfamiliar with the domain of fitness training, he therefore wrongly assumed that users wanted heartbeat in beats per hour b) The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect c) An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times d) Because the designer had never worked on wearable devices before, she as designer of the user interface therefore misunderstood the effects of reflected sunlight Select ONE option. Explanation / Rationale a) Is not correct. The lack of familiarity of the requirements author with the fitness domain is a root cause b) Is not correct. The lack of training of the tester in state transition testing was one of the root causes of the defect (the developer presumably created the defect, as well) c) Is correct. The incorrect configuration data represents faulty software in the fitness tracker (a defect), that may cause failures d) Is not correct. The lack of experience in designing user interfaces for wearable devices is a typical example of a root cause of a defect 35 / 40 35. Which of the following CORRECTLY matches the roles and responsibilities in a formal review? a) Manager – Decides on the execution of reviews b) Review Leader - Ensures effective running of review meetings c) Scribe – Fixes defects in the work product under review d) Moderator – Monitors ongoing cost-effectiveness Explanation / Rationale a) Is correct. The management decides about performing the review b) Is not correct. The moderator, not the review leader should ensure the effective running of review meetings c) Is not correct. The author fixes the work product under review d) Is not correct. The manager monitors ongoing cost-effectiveness 36 / 40 36. 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 37 / 40 37. Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a developer’s? a) A tester´s mindset tends to grow and mature as the tester gains experience b) Ability to see what might go wrong c) Good communication with team members d) Focus on getting all things done Select ONE option. Explanation / Rationale a) Is not correct. Both developers and testers gain from experience b) Is correct. Developers are often more interested in designing and building solutions than in contemplating what might be wrong with those solutions c) Is not correct. Both developers and testers should be able to communicate well d) Is not correct. Testers shall focus on the quality, not on the quantity 38 / 40 38. An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment: • Less than or equal to 2 years • More than 2 years but less than 5 years • 5 to 10 years inclusively • Longer than 10 years What is the minimum number of test cases required to cover all valid equivalence partitions for calculating the bonus? a) 3 b) 5 c) 2 d) 4 Select ONE option. Explanation / Rationale a) Is not correct. One too few (see the four correct partitions in the correct answer) b) Is not correct. One too much (see the four correct partitions in the correct answer) c) Is not correct. Two too few (see the four correct partitions in the correct answer) d) Is correct. The 4 equivalence partitions correspond to the description in the question, i.e., at least one test case must be created for each equivalence partition: 1. Equivalence partition: 0 ≤ employment time ≤ 2 2. Equivalence partition: 2 < employment time < 5 3. Equivalence partition: 5 ≤ employment time ≤ 10 4. Equivalence partition: 10 < employment time 39 / 40 39. Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance Testing? a) Impact analysis is used when deciding if a fix to a maintained system is worthwhile b) Impact analysis is used to identify how data should be migrated into the maintained system c) Impact analysis is used to decide which hot fixes are of most value to the user d) Impact analysis is used to determine the effectiveness of new maintenance test cases Select ONE option. Explanation / Rationale a) Is correct. Impact analysis may be used to identify those areas of the system that will be affected by the fix, and so the extent of the impact (e.g., necessary regression testing) can be used when deciding if the change is worthwhile b) Is not correct. Although testing migrated data is part of maintenance testing (see conversion testing), impact analysis does not identify how this is done c) Is not correct. Impact analysis shows which parts of a system are affected by a change, so it can show the difference between different hot fixes in terms of the impact on the system, however it does not give any indication of the value of the changes to the user d) Is not correct. Impact analysis shows which parts of a system are affected by a change; it cannot provide an indication of the effectiveness of test cases 40 / 40 40. 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 0% Restart quiz