0% 3 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 - 75 minutes Name 1 / 40 1. 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 2 / 40 2. 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 3 / 40 3. 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 4 / 40 4. Given the following priorities and dependencies for these test cases: Which of the following test execution schedules BEST considers the priorities and technical and logical dependencies? a) TC1 – TC3 – TC4 – TC6 – TC2 – TC5 b) TC4 – TC3 – TC1 – TC2 – TC5 – TC6 c) TC4 – TC1 – TC3 – TC5 – TC6 – TC2 d) TC4 – TC2 – TC5 – TC1 – TC3 – TC6 Select ONE option. Explanation / Rationale The test cases should be scheduled in priority order, but the schedule must also take account of the dependencies. The two highest priority test cases (TC1 and TC3) are both dependent on TC4, so the first three test cases should be scheduled as either TC4 – TC1 – TC3 or TC4 – TC3 – TC1 (we have no way to discriminate between TC1 and TC3). Next, we need to consider the remaining medium priority test case, TC6. TC6 is dependent on TC5, but TC5 is dependent on TC2, so the next two three cases must be scheduled as TC2 – TC5 – TC6. This means there are two possible optimal schedules: • TC4 – TC1 – TC3 – TC2 – TC5 – TC6 or • TC4 – TC3 – TC1 – TC2 – TC5 – TC6 Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 5 / 40 5. 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 6 / 40 6. 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 7 / 40 7. 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 8 / 40 8. 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 9 / 40 9. A video application has the following requirement: The application shall allow playing a video on the following display resolution: 1. 640x480 2. 1280x720 3. 1600x1200 4. 1920x1080 Which of the following list of test cases is a result of applying the equivalence partitioning test technique to test this requirement? a) Verify that the application can play a video on a display of size 1920x1080 (1 test case) b) Verify that the application can play a video on a display of size 640x480 and 1920x1080 (2 test cases) c) Verify that the application can play a video on each of the display sizes in the requirement (4 test cases) d) Verify that the application can play a video on any one of the display sizes in the requirement (1 test case) Select ONE option. Explanation / Rationale a) Is not correct. See reason from correct answer b) Is not correct. See reason from correct answer c) Is correct. This is a case where the requirement gives an enumeration of discrete values. Each enumeration value is an equivalence class by itself; therefore, each will be tested when using equivalence partitioning test technique d) Is not correct. See reason from correct answer 10 / 40 10. A phone ringing momentarily distracts a programmer, causing the programmer to improperly program the logic that checks the upper boundary of an input variable. Later, during system testing, a tester notices that this input field accepts invalid input values. The improperly coded logic for the upper boundary check is: a) The root-cause b) The failure c) The error d) The defect Select ONE option. Explanation / Rationale a) Is not correct. The root cause is the distraction that the programmer experienced while programming b) Is not correct. The accepting of invalid inputs is the failure c) Is not correct. The error is the mistaken thinking that resulted in putting the defect in the code d) Is correct. The problem in the code is a defect 11 / 40 11. Which one of the following answers describes a test condition? a) A distinguishing characteristic of a component or system b) A testable aspect of a component or system identified as a basis for testing c) The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions d) Test cases designed to execute combinations of conditions and actions resulting from them Select ONE option. Explanation / Rationale a) Is not correct. Definition of feature according to glossary b) Is correct. From glossary c) Is not correct. Definition of functionality suitability according to glossary d) Is not correct. Like Definition of Decision table testing according to glossary 12 / 40 12. 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 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. 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 15 / 40 15. 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 16 / 40 16. 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 17 / 40 17. 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 18 / 40 18. 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 19 / 40 19. 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 20 / 40 20. 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 21 / 40 21. A product owner says that your role as a tester on an Agile team is to catch all the bugs before the end of each iteration. Which of the following is a testing principle that could be used to respond to this (false) statement? a) Defect clustering b) Testing shows the presence of defects c) Absence of error fallacy d) Root cause analysis Select ONE option. Explanation / Rationale a) Is not correct. Defect clustering has to do with where defects are most likely to be found, not whether all of them can be found b) Is correct. Testing can show the presence of defects but cannot prove their absence, which makes it impossible to know if you have caught all the bugs. Further, the impossibility of exhaustive testing makes it impossible for you to catch all the bugs c) Is not correct. This principle says that you can find and remove many bugs but still release an unsuccessful software product, which is not what the product owner is asking you to ensure d) Is not correct. Root cause analysis is not a testing principle 22 / 40 22. 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 23 / 40 23. The reviews being used in your organization have the following attributes: • There is a role of a scribe • The purpose is to detect potential defects • The review meeting is led by the author • Reviewers find potential defects by individual review • A review report is produced Which of the following review types is MOST likely being used? a) Informal Review b) Walkthrough c) Technical Review d) Inspection Select ONE option. Explanation / Rationale Considering the attributes: • There is a role of a scribe – specified for walkthroughs, technical reviews, and inspections; thus, the reviews being performed cannot be informal reviews • The purpose is to detect potential defects – the purpose of detecting potential defects is specified for all types of review. • The review meeting is led by the author – this is not allowed for inspections and is typically not the author for technical reviews, but is part of walkthroughs, and allowed for informal reviews • Reviewers find potential issues by individual review - all types of reviews can include individual review (even informal reviews) • A review report is produced - all types of reviews can produce a review report, although it would be less likely for an informal review Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 24 / 40 24. 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 25 / 40 25. 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 26 / 40 26. 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) 27 / 40 27. 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 28 / 40 28. 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 29 / 40 29. 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 30 / 40 30. Which of the following statements is true? a) Impact analysis is useful for confirmation testing during maintenance testing b) Confirmation testing is useful for regression testing during system design c) Impact analysis is useful for regression testing during maintenance testing d) Confirmation testing is useful for impact analysis during maintenance testing Select ONE option. Explanation / Rationale a) Is not correct. While impact analysis is useful during maintenance testing it is not necessary for confirmation testing since confirmation testing is on the intended effects of a bug fix or other change b) Is not correct. Confirmation and regression testing are two separate activities, and confirmation testing is not part of system design c) Is correct. Impact analysis can be used to select regression tests for maintenance testing d) Is not correct. Confirmation testing is not part of impact analysis, though confirmation testing will typically happen during maintenance testing 31 / 40 31. 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 32 / 40 32. 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 33 / 40 33. Which one of the following is MOST likely to be a benefit of test execution tools? a) It is easy to create regression tests b) It is easy to maintain version control of test assets c) It is easy to design tests for security testing d) It is easy to run regression tests Select ONE option. Explanation / Rationale a) Is not correct. The benefits are not when creating regressions tests, more in executing them b) Is not correct. This is done by configuration management tools c) Is not correct. This needs specialized tools d) Is correct. Reduction in repetitive manual work (e.g., running regression tests, environment set up/tear down tasks, re-entering the same test data, and checking against coding standards), thus saving time 34 / 40 34. 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 35 / 40 35. 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 36 / 40 36. 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 37 / 40 37. In a formal review, what is the role name for the participant who runs an inspection meeting? a) Facilitator b) Programmer c) Author d) Project manager Select ONE option. Explanation / Rationale a) Is correct. The facilitator or moderator runs the review meetings b) Is not correct. This is not a role name for a formal review participant c) Is not correct. The facilitator or moderator runs the review meetings d) Is not correct. The facilitator or moderator runs the review meetings 38 / 40 38. Which one of the following options is categorized as a black-box test technique? a) A technique based on analysis of the architecture b) A technique checking that the test object is working according to the detailed design c) A technique based on the knowledge of past faults, or general knowledge of failures d) A technique based on formal requirements Select ONE option Explanation / Rationale a) Is not correct. This is a white-box test technique b) Is not correct. This is a white-box test technique c) Is not correct. This is an experience-based test technique d) Is correct. Black-box test techniques are based on an analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases, user stories) 39 / 40 39. Which of the following is MOST likely to be an example of a PRODUCT risk? a) The expected security features may not be supported by the system architecture b) The developers may not have time to fix all the defects found by the test team c) The test cases may not provide full coverage of the specified requirements d) The performance test environment may not be ready before the system is due for delivery Select ONE option. Explanation / Rationale a) Is correct. If the expected security features are not supported by the system architecture, then the system could be seriously flawed. As the system being produced is the problem here, it is a product risk b) Is not correct. If the developers run over budget, or run out of time, that is a problem with the running of the project – it is a project risk c) Is not correct. If the test cases do not provide full coverage of the requirements, this means the testing may not fulfil the requirements of the test plan – it is a project risk d) Is not correct. If the test environment is not ready, this means the testing may not be done, or it may have to be done on a different environment and it is impacting how the project is run – it is a project risk 40 / 40 40. 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 0% Restart quiz