0% 3 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 - 75 minutes Name 1 / 40 1. 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 2 / 40 2. You are working as a project manager on an in-house banking software project. To prevent rework and excessive find/fix/retest cycles, the following process has been put in place for resolving a defect once it is found in the test lab: 1. The assigned developer finds and fixes the defect, then creates an experimental build 2. A peer developer reviews, unit tests, and confirmation tests the defect fix on his/her desktop 3. A tester – usually the one who found the defect – confirmation tests the defect fix in the development environment 4. Once a day, a new release with all confirmed defect fixes included, is installed in the test environment 5. The same tester from step 3 confirmation tests the defect fix in the test environment Nevertheless, a large number of defects which the testers confirmed as fixed in the development environment (in step 3) are somehow failing confirmation testing in the test environment, with the resulting rework and cycle time outcomes. You have the highest confidence in your testers and have ruled out mistakes or omissions in step 3. Which of the following is the MOST likely part of the process to check next? a) The activity of developers, who may not be adequately testing in step 2 b) The activity of testers, who may be confused about what to test in step 5 c) Configuration management, which may not be maintaining the integrity of the product in step 4 d) The activity of developers, who may not be fixing defects properly in step 1 Select ONE option. Explanation / Rationale a) Is not correct. If inadequate developer testing were the problem, the confirmation test would not pass in step 3 b) Is not correct. The same tester who successfully performed the confirmation test in step 3 is repeating it in step 5 c) Is correct. Configuration management maintains the integrity of the software. If a test that passes in step 3 fails in step 5, then something is different between those two steps. One possible difference is the test object, the option listed here. Another possible difference is the between the development environment and the test environment, but that is not an option listed here d) Is not correct. If the developers were not fixing the defect, the confirmation test would not pass in step 3 3 / 40 3. Which of the following descriptions of statement coverage is CORRECT? a) Statement coverage is a measure of the number of lines of source code exercised by tests b) Statement coverage is a measure of the proportion of executable statements in the source code exercised by tests c) Statement coverage is a measure of the percentage of lines of source code (without comments) exercised by tests d) Statement coverage is a measure of the number of executable statements in the source code exercised by tests Select ONE option. Explanation / Rationale a) Is not correct. Statement coverage is a measure of the proportion of executable statements exercised by tests. The number of executable statements is often close to the number of lines of code minus the comments, but this option only talks about the number of lines of code exercised and not the proportion exercised b) Is correct. Statement coverage is a measure of the proportion of executable statements exercised by tests (normally presented as a percentage) c) Is not correct. Statement coverage is a measure of the percentage of executable statements exercised by tests, however many of the lines of source code are not executable (e.g., comments) d) Is not correct. Statement coverage is a measure of the proportion of executable statements exercised by tests. This option only talks about the number of executable statements exercised and not the proportion (or percentage) exercised 4 / 40 4. 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 5 / 40 5. Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization? a) The need to evaluate how the tool fits with existing processes and practices and determining what would need to change b) The need to evaluate the test automation skills and training, mentoring and coaching needs of the testers who will use the tool c) The need to evaluate whether the tool provides the required functionality and does not duplicate existing test tools d) The need to evaluate the tool vendor in terms of the training and other support they provide Select ONE option. Explanation / Rationale a) Is correct b) Is not correct. The evaluation of the test automation skills and training, mentoring and coaching needs of the testers who will use the tool should have been performed as part of the tool selection activity c) Is not correct. The decision on whether the tool provides the required functionality and does not duplicate existing tools should have been performed as part of the tool selection activity d) Is not correct. The evaluation of the tool vendor in terms of the training and other support they provide should have been performed as part of the tool selection activity 6 / 40 6. 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 7 / 40 7. 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 8 / 40 8. Given the following state model of a battery charger software: Which of the following sequences of transitions provides the highest level of transition coverage for the model? a) OFF → WAIT → OFF → WAIT → TRICKLE → CHARGE → HIGH → CHARGE → LOW b) WAIT → TRICKLE → WAIT → OFF → WAIT → TRICKLE → CHARGE → LOW → CHARGE c) HIGH → CHARGE → LOW → CHARGE → TRICKLE → WAIT → TRICKLE → WAIT → TRICKLE d) WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT Select ONE option. Explanation / Rationale Given the annotated state model below: The options achieve the following transition coverage: a) Is not correct: OFF (2) WAIT (1) OFF (2) WAIT (3) TRICKLE (5) CHARGE (9) HIGH (10) CHARGE (7) LOW = 7 transitions (out of 10) b) Is not correct: WAIT (3) TRICKLE (4) WAIT (1) OFF (2) WAIT (3) TRICKLE (5) CHARGE (7) LOW (8) CHARGE = 7 transitions (out of 10) c) Is not correct: HIGH (10) CHARGE (7) LOW (8) CHARGE (6) TRICKLE (4) WAIT (3) TRICKLE (4) WAIT (3) TRICKLE = 6 transitions (out of 10) d) Is correct: WAIT (3) TRICKLE (5) CHARGE (9) HIGH (10) CHARGE (6) TRICKLE (4) WAIT (1) OFF (2) WAIT = 8 transitions (out of 10) 9 / 40 9. Consider the following testing activities: 1. Selecting regression tests 2. Evaluating completeness of test execution 3. Identifying which user stories have open defect reports 4. Evaluating whether the number of tests for each requirement is consistent with the level of product risk Consider the following ways traceability can help testing: A. Improve understandability of test status reports to include status of test basis items B. Make testing auditable C. Provide information to assess process quality D. Analyze the impact of changes Which of the following best matches the testing activity with how traceability can assist that activity? a) 1D, 2B, 3C, 4A b) 1B, 2D, 3A, 4C c) 1D, 2C, 3A, 4B d) 1D, 2B, 3A, 4C Select ONE option. Explanation / Rationale Traceability assists with: • Selecting regression tests in terms of analyzing the impact of changes (1D) • Evaluating completeness of test execution which makes testing auditable (2B) • Identifying which user stories have open defect reports which improves understandability of test status reports to include status of test basis items (3A) • Evaluating whether the number of tests for each requirement is consistent with the level of product risk which provides information to assess test process quality (i.e., alignment of test effort with risk) (4C) Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 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 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 12 / 40 12. 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 13 / 40 13. 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 14 / 40 14. 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 15 / 40 15. A daily radiation recorder for plants produces a sunshine score based on a combination of the number of hours a plant is exposed to the sun (below 3 hours, 3 to 6 hours or above 6 hours) and the average intensity of the sunshine (very low, low, medium, high). Given the following test cases: What is the minimum number of additional test cases that are needed to ensure full coverage of ALL VALID INPUT equivalence partitions? a) 1 b) 2 c) 3 d) 4 Select ONE option. Explanation / Rationale The following valid input equivalence partitions can be identified: • Hours 1. Below 3 hours 2. 3 to 6 hours 3. Above 6 hours • Intensity 4. Very low 5. Low 6. Medium 7. High The given test cases cover the following valid input equivalence partitions: Thus, the missing valid input equivalence partitions are: (2), (5) and (7). These can be covered by two test cases, as (2) can be combined with either (5) or (7). Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 16 / 40 16. 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) 17 / 40 17. 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 18 / 40 18. 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 19 / 40 19. 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 20 / 40 20. Which of the following statements BEST describes how tasks are divided between the test manager and the tester? a) The test manager plans testing activities and chooses the standards to be followed, while the tester chooses the tools and set the tools usage guidelines b) The test manager plans, coordinates, and controls the testing activities, while the tester automates the tests c) The test manager plans, monitors, and controls the testing activities, while the tester designs tests and decides on the release of the test object d) The test manager plans and organizes the testing and specifies the test cases, while the tester executes the tests Select ONE option. Explanation / Rationale a) Is not correct. Selection of tools is a test manager task b) Is correct. See reasons from incorrect answers c) Is not correct. The tester does not decide on the release of the test object d) Is not correct. The tester specifies the test cases, the test manager does the prioritization 21 / 40 21. Which of the review types below is the BEST option to choose when the review must follow a formal process based on rules and checklists? a) Informal Review b) Technical Review c) Inspection d) Walkthrough Select ONE option. Explanation / Rationale a) Is not correct. Informal review does not use a formal process b) Is not correct. Use of checklists are optional c) Is correct. Inspection is a formal process based on rules and checklists d) Is not correct. Does not explicitly require a formal process and the use of checklists is optional 22 / 40 22. 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) 23 / 40 23. Which of the following BEST defines risk level? a) Risk level is calculated by adding together the probabilities of all problem situations and the financial harm that results from them b) Risk level is estimated by multiplying the likelihood of a threat to the system by the chance that the threat will occur and will result in financial damage c) Risk level is determined by a combination of the probability of an undesirable event and the expected impact of that event d) Risk level is the sum of all potential hazards to a system multiplied by the sum of all potential losses from that system Select ONE option. Explanation / Rationale a) Is not correct. Risk is determined by considering a combination of the likelihood of problem situations and the harm that may result from them but cannot be calculated by adding these together (the probability would be in the range 0 to 1 and the harm could be in dollars) b) Is not correct. Risk is determined by considering a combination of a likelihood and an impact. This definition only considers likelihood and chance (both forms of probability) with no consideration of the impact (or harm) c) Is correct. See reasons from incorrect answers d) Is not correct. Risk is determined by considering a combination of a likelihood and an impact. This definition only considers hazards and losses (a hazard is a bad event, like a risk, while loss is a form of impact) with no consideration of the likelihood (or probability) 24 / 40 24. Which of the following statements about static testing are MOST true? a) Static testing is a cheap way to detect and remove defects b) Static testing makes dynamic testing less challenging c) Static testing makes it possible to find run-time problems early in the lifecycle d) When testing safety-critical system, static testing has less value because dynamic testing finds the defects better Select ONE options. Explanation / Rationale a) Is correct. Defects found early are often much cheaper to remove than defects detected later in the lifecycle b) Is not correct. Dynamic testing still has its challenging because they find other types of defects c) Is not correct. This is dynamic testing d) Is not correct. Static testing is important for safety-critical computer systems 25 / 40 25. Which one of the following is TRUE? a) The purpose of regression testing is to check if the correction has been successfully implemented, while the purpose of confirmation testing is to confirm that the correction has no side effects b) The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the system is still working in a new environment c) The purpose of regression testing is to detect unintended side effects, while the purpose of confirmation testing is to check if the original defect has been fixed d) The purpose of regression testing is to check if the new functionality is working, while the purpose of confirmation testing is to check if the original defect has been fixed Select ONE option. Explanation / Rationale a) Is not correct. Regression testing does not check successful implementation of corrections and confirmation testing does not check for side effects b) Is not correct. The statement about confirmation testing should be about regression testing c) Is correct. See reasons from incorrect answers d) Is not correct. Testing new functionality is not regression testing 26 / 40 26. 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 27 / 40 27. 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 28 / 40 28. 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 29 / 40 29. Which of the following BEST describes how value is added by maintaining traceability between the test basis and test artifacts? a) Maintenance testing can be fully automated based on changes to the initial requirements b) It is possible to determine if a new test case has increased coverage of the requirements c) Test managers can identify which testers found the highest severity defects d) Areas that may be impacted by side-effects of a change can be targeted by confirmation testing Select ONE option. Explanation / Rationale a) Is not correct. Traceability will allow existing test cases to be linked with updated and deleted requirements (although there is no support for new requirements), but it will not help with the automation of maintenance testing b) Is correct. If all test cases are linked with requirements, then whenever a new test case (with traceability) is added, it is possible to see if any previously uncovered requirements are covered by the new test case c) Is not correct. Traceability between the test basis and test artifacts will not provide information on which testers found high-severity defects, and, even if this information could be determined, it would be of limited value d) Is not correct. Traceability can help with identifying test cases affected by changes, however areas impacted by side-effects would be the focus of regression testing 30 / 40 30. 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 31 / 40 31. Which of the following statements is a valid objective for testing? a) The test should start as late as possible so that development had enough time to create a good product b) To validate whether the test object works as expected by the users and other stakeholders c) To prove that all possible defects are identified d) To prove that any remaining defects will not cause any failures Select ONE option. Explanation / Rationale a) Is not correct. Contradiction to principle 3: “Early testing saves time and money” b) Is correct. This is one objective of testing c) Is not correct. Principle #2 states that exhaustive testing is impossible, so one can never prove that all defects were identified d) Is not correct. To make an assessment whether a defect will cause a failure or not, one must detect the defect first. Saying that no remaining defect will cause a failure implicitly means that all defects were found. This again contradicts principle #2 32 / 40 32. Which of the following tools is most useful for reporting test metrics? a) Test management tool b) Static analysis tool c) Coverage tool d) Model-Based testing tools Select ONE option. Explanation / Rationale a) Is correct. Test management tools support the activities associated with test manager including metrics b) Is not correct. Static code analysis metrics would have to do with the code only, not testing as a whole c) Is not correct. These tools report on test basis coverage and code coverage only, not testing as a whole d) Is not correct. Model-Based testing tools focus on one specific area, not testing as a whole 33 / 40 33. 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 34 / 40 34. In what way can testing be part of Quality Assurance? a) It ensures that requirements are detailed enough b) Testing reduces the risk of poor software quality c) It ensures that standards in the organization are followed d) It measures the quality of software in terms of number of executed test cases Select ONE option. Explanation / Rationale a) Is not correct. Static testing (reviews) contributes, but could not ensure, that requirements are detailed enough b) Is correct. Testing contributes to the achievement of quality in a variety of ways, e.g., such as reducing the risk of inadequate software quality c) Is not correct. This is quality assurance but not testing d) Is not correct. The quality cannot be measured by counting the number of executed test cases without knowing the outcome 35 / 40 35. 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 36 / 40 36. Given that the testing being performed has the following attributes: • Based on interface specifications • Focused on finding failures in communication • The test approach uses both functional and structural test types Which of the following test levels is MOST likely being performed? a) Integration testing b) Acceptance testing c) System testing d) Component testing Select ONE option. Explanation / Rationale Considering the scenario: 1. ‘testing is based on interface specifications’ – the test basis for integration testing includes interface specifications (along with communication protocol specification), while these are not included for any of the other test levels 2. ‘testing is focused on finding failures in communication’ - failures in the communication between tested components is included as a typical failure for integration testing, but failures in communication is not included for any of the other test levels 3. ‘the test approach uses both functional and structural test types’ - functional and structural test types are both included as possible approaches for integration testing, and would also be appropriate for any of the other test levels, although they are only otherwise explicitly mentioned in the syllabus for system testing Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 37 / 40 37. 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 38 / 40 38. 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 39 / 40 39. 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 40 / 40 40. You are running a performance test with the objective of finding possible network bottlenecks in interfaces between components of a system. Which of the following statements describes this test? a) A functional test during the integration test level b) A non-functional test during the integration test level c) A functional test during the component test level d) A non-functional test during the component test level Select ONE option. Explanation / Rationale a) Is not correct. While this test does match the description of an integration test, it is a non-functional test b) Is correct. This test matches the description of an integration test and it is a non-functional test c) Is not correct. This test does not match the description of a component test and it is not a functional test d) Is not correct. While this test is a non-functional test, it does not match the description of a component test 0% Restart quiz