0% 2 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 Name 1 / 40 1. 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 2 / 40 2. Which of the following BEST matches the descriptions with the different categories of test techniques? 1. Coverage is measured based on a selected structure of the test object 2. The processing within the test object is checked 3. Tests are based on defects’ likelihood and their distribution 4. Deviations from the requirements are checked 5. User stories are used as the test basis Using notation for the following 4 options: Black - Black-box test techniques White - White-box test techniques Experience - Experience-based test techniques a) Black – 4, 5 White – 1, 2; Experience – 3 b) Black – 3 White – 1, 2; Experience – 4, 5 c) Black – 4 White – 1, 2; Experience – 3, 5 d) Black – 1, 3, 5 White – 2; Experience – 4 Select ONE option. Explanation / Rationale The correct pairing of descriptions with the different categories of test techniques is: • Black-box test techniques Deviations from the requirements are checked (4) User stories are used as the test basis (5) • White-box test techniques Coverage is measured based on a selected structure of the test object (1) The processing within the test object is checked (2) • Experience-based test techniques Tests are based on defects’ likelihood and their distribution (3) Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 3 / 40 3. 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) 4 / 40 4. You are performing system testing of a train reservation system. Based on the test cases performed, you have noticed that the system occasionally reports that no trains are available, although this should be the case. You have provided the developers with a summary of the defect and the version of the tested system. They recognize the urgency of the defect and are now waiting for you to provide further details. In addition to the information already provided, the following additional information is given: 1. Degree of impact (severity) of the defect 2. Identification of the test object 3. Details of the test environment 4. Urgency/priority to fix 5. Actual results 6. Reference to test case specification Which of this additional information is most useful to include in the defect report? a) 1, 2, 6 b) 1, 4, 5, 6 c) 2, 3, 4, 5 d) 3, 5, 6 Select ONE option. Explanation / Rationale Considering each of the pieces of information: 1. Degree of impact (severity) of the defect – the developers are already aware of the problem and are waiting to fix it, so this is a less important piece of information. 2. Identification of the test object – as the developers are already aware of the problem and you are performing system testing, and you have already provided the version of the system you are testing you can assume they know the object that was being tested, so this is a less important piece of information. 3. Details of the test environment – the set-up of the test environment may have a noticeable effect on the test results, and detailed information should be provided, so this is an important piece of information. 4. Urgency/priority to fix – the developers are already aware of the problem and are waiting to fix it, so this is a less important piece of information. 5. Actual results – the actual results may well help the developers to determine what is going wrong with the system, so this is an important piece of information. 6. Reference to test case specification – this will show the developers the tests you ran, including the test inputs that caused the system to fail (and expected results), so this is an important piece of information. Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 5 / 40 5. 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 6 / 40 6. Consider the following types of defects that a test level might focus on: a) Defects in separately testable modules or objects b) Not focused on identifying defects c) Defects in interfaces and interactions d) Defects in the whole test object Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above? a) 1 = performance test; 2 = component test; 3 = system test; 4 = acceptance test b) 1 = component test; 2 = acceptance test; 3 = system test; 4 = integration test c) 1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test d) 1 = integration test; 2 = system test; 3 = component test; 4 = acceptance test Select ONE option. Explanation / Rationale Performance testing is a test type, not a test level. Component testing focuses on defects in separately testable modules or objects, integration testing on defects in interfaces and interactions, system testing on defects in the whole test object, and acceptance testing is not typically focused on identifying defects. Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 7 / 40 7. 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 8 / 40 8. 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 9 / 40 9. You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the unit’s field is 0.1 units. Which of the following is a set of input values that cover the boundary values with two-point boundary values for this field? a) 0.3, 10.0, 28.0 b) 0.4, 0.5, 0.6, 24, 9, 25, 0, 25.1 c) 0.4, 0.5, 25.0 25.1 d) 0.5, 0.6, 24.9, 25.0 Select ONE option. Explanation / Rationale There are three equivalence partitions, with the boundaries as shown: • Invalid too low (0.4 and below) • Valid (0.5 to 25.0) • Invalid too high (25.1 and above) Thus: a) Is not correct. None of those four boundary values are included in this set of tests. These tests do cover the equivalence partitions b) Is not correct. All these four boundary values are included in this set of tests, but two additional values are included, one for each boundary. These are the values associated with three-point boundary value analysis c) Is correct. Each of those four two-point boundary values are included in this set of tests d) Is not correct. These four values are all included in the valid partition 10 / 40 10. You are testing a mobile app that allows users to find a nearby restaurant, based on the type of food they want to eat. Consider the following list of test cases, priorities (smaller number is high priority), and dependencies, in the following format: Which of the following is a possible test execution schedule that considers both priorities and dependencies? a) 01.001, 01.002, 01.003, 01.005, 01.004 b) 01.001, 01.002, 01.004, 01.003, 01.005 c) 01.003, 01.004, 01.002, 01.001, 01.002 d) 01.001, 01.002, 01.004, 01.005, 01.003 Select ONE option. Explanation / Rationale Test 01.001 must come first, followed by 01.002, to satisfy dependencies. Afterwards, 01.004 and 01.003 should be run in either order, followed by 01.005, to satisfy priority. Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 11 / 40 11. Which of the following statements about test types and test levels is CORRECT? a) Functional and non-functional testing can be performed at system and acceptance test levels, while white-box testing is restricted to component and integration testing b) Functional testing can be performed at any test level, while white-box testing is restricted to component testing c) It is possible to perform functional, non-functional and white-box testing at any test level d) Functional and non-functional testing can be performed at any test level, while white-box testing is restricted to component and integration testing Select ONE option. Explanation / Rationale a) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, although it is correct that functional and non-functional testing can be performed at system and acceptance test levels, it is incorrect to state that white-box testing is restricted to component and integration testing b) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, it is incorrect to state that white-box testing is restricted to component testing c) Is correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level d) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, it is incorrect to state that white-box testing is restricted to component testing and integration testing 12 / 40 12. 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 13 / 40 13. 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 14 / 40 14. 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 15 / 40 15. Which of the following is a common test metric often used to monitor BOTH test preparation and test execution? a) Test case status b) Defect find/fix rates c) Test environment preparation d) Estimated cost to find the next defect Select ONE option. Explanation / Rationale a) Is correct. Percentage of test cases prepared is a common metric during test preparation while percentage of test cases passed, failed, not run, etc., are common during test execution b) Is not correct. Defect reports are typically filed during test execution, based on failures found c) Is not correct. Test environment preparation is part implementation and would generally be complete before test execution d) Is not correct. Defects are typically reported during test execution, based on failures found, so the cost to find the next defect is available during test execution only 16 / 40 16. 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 17 / 40 17. 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 18 / 40 18. 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 19 / 40 19. 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” 20 / 40 20. You are reading a user story in the product backlog to prepare for a meeting with the product owner and a developer, noting potential defects as you go. Which of the following statements is true about this activity? a) It is not a static test, because static testing involves execution of the test object b) It is not a static test, because static testing is always performed using a tool c) It is a static test, because any defects you find could be found cheaper during dynamic testing d) It is a static test because static testing does not involve execution of the test object Select ONE option. Explanation / Rationale a) Is not correct. Static testing does not involve execution of the test object b) Is not correct. Some static tests involve the use of a tool, especially static analysis, but reviews (such as the activity described here) do not necessarily involve the use of a tool c) Is not correct. The review activity described here is part of a static test, but defects found in static tests are usually cheaper than those found in dynamic testing d) Is correct. Static testing does not involve execution of the test object 21 / 40 21. Consider a mobile app that allows customers to access and manage their bank accounts. A user story has just been added to the set of features that checks customers’ social media accounts and bank records to give personalized greetings on birthdays and other personal milestones. Which of the following test techniques could a PROGRAMMER use during a unit test of the code to ensure that coverage of situations when the greetings ARE supposed to occur and when the greetings ARE NOT supposed to occur? a) Statement testing b) Exploratory testing c) State transition testing d) Decision testing Select ONE option. Explanation / Rationale a) Is not correct. Statement testing exercises the executable statements in the code, which might result in the absence of certain greetings not being tested b) Is not correct. Unless the test charter specifically mentioned testing both the presence and the absence of each type of greeting, coverage can be difficult to assess for an exploratory test c) Is not correct. State transition testing is useful for situations where the test object responds differently to an input depending on current conditions or previous history, but in this case the test object must decide whether the current date matches a particular milestone and thus whether to display the relevant greeting d) Is correct. Decision testing involves test cases that follow the control flows that occur from a decision point, which in this case would be deciding whether a greeting should or should not be given 22 / 40 22. Which of the following are two factors that can be used to determine the level of risk? a) Testing and development b) Dynamic and reactive c) Statement and decision d) Likelihood and impact Select ONE option. Explanation / Rationale The level of risk will be determined by the likelihood of an adverse event happening and the impact (the harm) from that event. Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 23 / 40 23. 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 24 / 40 24. Which one of the following is NOT included in a test summary report? a) Defining pass/fail criteria and objectives of testing b) Deviations from the test approach c) Measurements of actual progress against exit criteria d) Evaluation of the quality of the test object Select ONE option. Explanation / Rationale a) Is correct. This information has been defined earlier in the test project b) Is not correct. This information is included in a test report: information on what occurred during a test period c) Is not correct. This information is included in a test report: • Status of testing and product quality with respect to the exit criteria or definition of done • Metrics of defects, test cases, test coverage, activity progress, and resource consumption d) Is not correct. This information is included in a test report: Information and metrics to support recommendations and decisions about future actions, such as an assessment of defects remaining, the economic benefit of continued testing, outstanding risks, and the level of confidence in the tested software 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. Given the following statements about the relationships between software development activities and test activities in the software development lifecycle: 1. Each development activity should have a corresponding testing activity 2. Reviewing should start as soon as final versions of documents become available 3. The design and implementation of tests should start during the corresponding development activity 4. Testing activities should start in the early stages of the software development lifecycle Which of the following CORRECTLY shows which are true and false? a) True – 1, 2; False – 3, 4 b) True – 2, 3; False – 1, 4 c) True – 1, 2, 4; False – 3 d) True – 1, 4; False – 2, 3 Select ONE option. Explanation / Rationale Considering each statement: 1. Each development activity should have a corresponding testing activity. TRUE 2. Reviewing should start as soon as final versions of documents become available. FALSE – it should start as soon as drafts are available 3. The design and implementation of tests should start during the corresponding development activity. FALSE – the analysis and design of tests should start during the corresponding development activity, not the implementation 4. Testing activities should start in the early stages of the software development lifecycle. TRUE Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 28 / 40 28. 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 29 / 40 29. What is decision coverage? a) The coverage of condition outcomes b) Decision coverage is a synonym for statement coverage c) The coverage of executable statements d) The coverage of decision outcomes Select ONE option. Explanation / Rationale a) Is not correct. This is the Glossary definition of condition coverage b) Is not correct. Decision coverage is a higher level of coverage and the two terms are not defined as synonyms in the Glossary c) Is not correct. This is the Glossary definition of statement coverage d) Is correct. This is the Glossary definition of coverage as applied to decisions 30 / 40 30. 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 31 / 40 31. 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 32 / 40 32. You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the units’ field is 0.1 units. Which of the following is a MINIMAL set of input values that cover the equivalence partitions for this field? a) 10.0, 28.0 b) 0.4, 0.5, 25.0, 25.1 c) 0.2, 0.9, 29.5 d) 12.3 Select ONE option. Explanation / Rationale There are three equivalence partitions, with the boundaries as shown: • Invalid too low (0.4 and below) • Valid (0.5 to 25.0) • Invalid too high (25.1 and above) Thus: a) Is not correct. Only two of the equivalence partitions are covered in this set of tests b) Is not correct. Each of those four boundary values are included in this set of tests, but the question asked for equivalence partition coverage with minimal tests, so either 0.5 or 25.0 should be dropped c) Is correct. Each of these three equivalence partitions are covered in this set of tests d) Is not correct. Only one of those equivalence partitions is covered by this test 33 / 40 33. 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 34 / 40 34. 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 35 / 40 35. Which of the following provides the BEST description of exploratory testing? a) A testing practice in which an in-depth investigation of the background of the test object is used to identify potential weaknesses that are examined by test cases b) An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests c) An approach to test design in which test activities are planned as uninterrupted sessions of test analysis and design, often used in conjunction with checklist-based testing d) Testing based on the tester's experience, knowledge, and intuition Select ONE option. Explanation / Rationale a) Is not correct. Exploratory testing is often carried out when timescales are short, so making in-depth investigations of the background of the test object is unlikely b) Is correct. Glossary definition c) Is not correct. Based on the Glossary definition of session-based testing, but with test execution replaced by test analysis d) Is not correct. Glossary definition of experience-based testing 36 / 40 36. 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 37 / 40 37. 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 38 / 40 38. 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 39 / 40 39. 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) 40 / 40 40. 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 0% Restart quiz