0% 3 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 - 75 minutes Name 1 / 40 1. You are working on a video game development project, using Agile methods. It is based on Greek mythology and history, and players can play key roles in scenarios such as the battles between the Greeks and Trojans. Consider the following user story and its associated acceptance criteria: As a player, I want to be able to acquire the Rod of Midas (a new magic object), so that I can turn objects and other players into gold AC1: The Rod must work on any object or player, no matter what size, which can be touched anywhere by the player holding the Rod AC2: Holding the Rod does not change the player holding it into gold AC3: Any object or player touched by the Rod transforms completely into gold within one millisecond AC4: The Rod appears as shown in Prototype O.W.RoM AC5: The transformation starts at the point of contact with the Rod and moves at a rate of one meter per millisecond You are participating in a checklist-based review session of this user story. This user story and its associated acceptance criteria contain which of the following typical defects identified by static testing in this type of work product? a) Deviation from standards b) Contradiction c) Security vulnerability d) Coverage gaps Select ONE option. Explanation / Rationale a) Is not correct. While deviation from standards is a typical, we are not given any standard with which the user stories should comply b) Is correct. Contradiction is a typical requirements defect. AC3 and AC5 conflict if the Rod is touched to an object that extends more than 1 meter in any direction from the point at which touched, since AC1 does not limit the size of the objects to be touched c) Is not correct. While security vulnerabilities are typical defects, there is nothing here related to security d) Is not correct. While test coverage gaps are typical defects, including missing tests for acceptance criteria, we are not provided with any information about which tests do and do not exist 2 / 40 2. Which one of the statements below describes the most common situation for a failure discovered during testing or in production? a) The product crashed when the user selected an option in a dialog box b) The wrong version of a compiled source code file was included in the build c) The computation algorithm used the wrong input variables d) The developer misinterpreted the requirement for the algorithm Select ONE option. Explanation / Rationale a) Is correct. A crash is clearly noticeable by the user b) Is not correct. This is a defect, not a failure since there is something wrong in the code. It may not result in a visible or noticeable failure, for example if the changes in the source code file are only in comments c) Is not correct. The use of wrong input variables may not result in a visible or noticeable failure, for example if nobody uses this particular algorithm; or if the wrong input variable has a similar value to the correct input variable; or if the FALSE result of the algorithm is not used d) Is not correct. This type of fault will not necessarily lead to a failure; for example, if no one uses this special algorithm 3 / 40 3. 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 4 / 40 4. 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) 5 / 40 5. 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 6 / 40 6. Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules R1 and R4, which are shown below: Given the following additional test cases: Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules R1 and R4)? a) DT1, DT2 b) DT2, DT3 c) DT2, DT4 d) DT3, DT4 Select ONE option. Explanation / Rationale The complete decision table is shown below: To achieve full coverage, test cases covering rules 2 and 3 are needed. DT4 satisfies the constraints of rule 2, while DT2 satisfies the constraints of rule 3. Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 7 / 40 7. Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel: Suppose that there are two equivalence partitions for the condition where “Account/password okay” is not true, one where the account is invalid and another where the account is valid, but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where “Account/password okay” is true, where both the account and password are valid. If you want to design tests to cover the equivalence partitions for “Account/password okay” and also for this portion of the decision table, what is the minimum number of tests required? a) 2 b) 3 c) 4 d) 9 Select ONE option. Explanation / Rationale There is at least one test for each column in the decision table. However, column one requires two tests, one where the account is invalid and another where the account is valid, but the password is invalid, so the minimum number of tests is four. Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 8 / 40 8. 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 9 / 40 9. 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 10 / 40 10. Which of the following statements about the given state transition diagram and table of test cases is TRUE? a) The given test cases cover both valid and invalid transitions in the state transition diagram b) The given test cases represent all possible valid transitions in the state transition diagram c) The given test cases represent some of the valid transitions in the state transition diagram d) The given test cases represent pairs of transitions in the state transition diagram Select ONE option. Explanation / Rationale Proposed test case covers all five possible single valid transitions in the given state diagram (S1->S2, S2->S1, S2->S3, S3->S2, and S3->S1). Thus: a) Is not correct. Because no invalid transitions are covered b) Is correct. Because all valid transitions are covered c) Is not correct. Because all valid transitions are covered d) Is not correct. Because the test cases do not have pairs of transitions specified 11 / 40 11. 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 12 / 40 12. As a result of risk analysis, more testing is being directed to those areas of the system under test where initial testing found more defects than average. Which of the following testing principles is being applied? a) Beware of the pesticide paradox b) Testing is context dependent c) Absence-of-errors is a fallacy d) Defects cluster together Select ONE option. Explanation / Rationale a) Is not correct. ‘Beware of the pesticide paradox’ is concerned with re-running the same tests and their fault-finding effectiveness decreasing b) Is not correct. This testing principle is concerned with performing testing differently based on the context (e.g., games vs safety-critical) c) Is not correct. This testing principle is concerned with the difference between a tested and fixed system and a validated system. No ‘errors’ does not mean the system is fit for use d) Is correct. If clusters of defects are identified (areas of the system containing more defects than average), then testing effort should be focused on these areas 13 / 40 13. 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 14 / 40 14. Which of the following statements BEST describes how test cases are derived from a use case? a) Test cases are created to exercise defined basic, exceptional and error behaviors performed by the system under test in collaboration with actors b) Test cases are derived by identifying the components included in the use case and creating integration tests that exercise the interactions of these components c) Test cases are generated by analyzing the interactions of the actors with the system to ensure the user interfaces are easy to use d) Test cases are derived to exercise each of the decision points in the business process flows of the use case, to achieve 100% decision coverage of these flows Select ONE option. Explanation / Rationale a) Is correct. This explains that each use case specifies some behavior that a subject can perform in collaboration with one or more actors. It also (later) explains that tests are designed to exercise the defined behaviors (basic, exceptional and errors) b) Is not correct. Use cases normally specify requirements, and so do not ‘include’ the components that will implement them c) Is not correct. Tests based on use cases do exercise interactions between the actor and the system, but they are focused on the functionality and do not consider the ease of use of user interfaces d) Is not correct. Tests do cover the use case paths through the use case, but there is no concept of decision coverage of these paths, and certainly not of business process flows 15 / 40 15. 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 16 / 40 16. Given the following test activities and tasks: A. Test design B. Test implementation C. Test execution D. Test completion 1. Entering change requests for open defect reports 2. Identifying test data to support the test cases 3. Prioritizing test procedures and creating test data 4. Analyzing discrepancies to determine their cause Which of the following BEST matches the activities with the tasks? a) A-2, B-3, C-4, D-1 b) A-2, B-1, C-3, D-4 c) A-3, B-2, C-4, D-1 d) A-3, B-2, C-1, D-4 Select ONE option. Explanation / Rationale The correct pairing of test activities and tasks is: A. Test design – (2) Identifying test data to support the test cases B. Test implementation – (3) Prioritizing test procedures and creating test data C. Test execution – (4) Analyzing discrepancies to determine their cause D. Test completion – (1) Entering change requests for open defect reports Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 17 / 40 17. 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 18 / 40 18. You are defining the process for carrying out product risk analysis as part of each iteration on an Agile project. Which of the following is the proper place to document this process in a test plan? a) Scope of testing b) Approach of testing c) Metrics of testing d) Configuration management of the test object Select ONE option. Explanation / Rationale a) Is not correct. While scope is a topic addressed in a test plan, the implementation of a risk-based testing strategy on this project is the approach, so this topic should be addressed in that section b) Is correct. Approach is a topic addressed in a test plan and the implementation of a risk-based testing strategy on this project is the approach c) Is not correct. While metrics for test monitoring and control is a topic addressed in a test plan, the implementation of a risk-based testing strategy on this project is the approach, so this topic should be addressed in that section d) Is not correct. Configuration management is not a topic addressed in a test plan 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. Given the following test activities and test tools: 1. Performance measurement and dynamic analysis 2. Test execution and logging 3. Management of testing and testware 4. Test design A. Code coverage tools B. Dynamic analysis tools C. Test data preparation tools D. Defect management tools Which of the following BEST matches the activities and tools? a) 1 – B, 2 – C, 3 – D, 4 – A b) 1 – B, 2 – A, 3 – C, 4 – D c) 1 – B, 2 – A, 3 – D, 4 – C d) 1 – A, 2 – B, 3 – D, 4 – C Select ONE option. Explanation / Rationale The correct pairings of test activities and test tools are: 1. Performance measurement and dynamic analysis – (b) Dynamic analysis tools 2. Test execution and logging – (a) Code coverage tools 3. Management of testing and testware – (d) Defect management tools 4. Test design – (c) Test data preparation tools Thus: a) Is not correct b) Is not correct c) Is correct d) Is not correct 21 / 40 21. Which of the following statements on the use of checklists in a formal review is CORRECT? a) As part of the review planning, the reviewers create the checklists needed for the review b) As part of the issue communication, the reviewers fill in the checklists provided for the review c) As part of the review meeting, the reviewers create defect reports based on the checklists provided for the review d) As part of the review initiation, the reviewers receive the checklists needed for the review Select ONE option. Explanation / Rationale a) Is not correct. During planning it is decided whether checklists are used. The preparation of the checklists is not part of the planning. In addition, the reviewers are neither involved in the planning, nor responsible for the creation of the checklists b) Is not correct. During issue communication, any potential defects that have been identified in the individual review are communicated. The completion of checklists by the reviewers already takes place, if at all, during individual review c) Is not correct. During review session, the reviewers communicate any potential defects of the work product that they did identify during the individual review. Defect reports are only created during the fixing and reporting activity d) Is correct. Initiating the review (“Kick-off”) involves distributing the work product and other materials, like checklists 22 / 40 22. Which of the following is a defect rather than a root cause in a fitness tracker? a) Because the author of the requirements was unfamiliar with the domain of fitness training, he therefore wrongly assumed that users wanted heartbeat in beats per hour b) The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect c) An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times d) Because the designer had never worked on wearable devices before, she as designer of the user interface therefore misunderstood the effects of reflected sunlight Select ONE option. Explanation / Rationale a) Is not correct. The lack of familiarity of the requirements author with the fitness domain is a root cause b) Is not correct. The lack of training of the tester in state transition testing was one of the root causes of the defect (the developer presumably created the defect, as well) c) Is correct. The incorrect configuration data represents faulty software in the fitness tracker (a defect), that may cause failures d) Is not correct. The lack of experience in designing user interfaces for wearable devices is a typical example of a root cause of a defect 23 / 40 23. During an Agile development effort, a product owner discovers a previously unknown regulatory requirement that applies to most of the user stories within a particular epic. The user stories are updated to provide for the necessary changes in software behavior. The programmers on the team are modifying the code appropriately. As a tester on the team, what types of tests will you run? a) Confirmation tests b) Regression tests c) Functional tests d) Change-related tests Select ONE option. Explanation / Rationale The change in behavior may be either functional or non-functional you need to run change-related tests, some of which are confirmation tests and others are regression tests. Thus: a) Is not correct b) Is not correct c) Is not correct d) Is correct 24 / 40 24. 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 25 / 40 25. 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) 26 / 40 26. As a test manager you are responsible for testing the following parts of requirements: • R1 - Process anomalies • R2 - Synchronization • R3 - Approval • R4 - Problem solving • R5 - Financial data • R6 - Diagram data • R7 - Changes to the user profile Notation: Logical requirement dependencies (A -> B means, that B depends on A): Which one of the following options structures the test execution schedule according to the requirement dependencies? a) R1 ; R3 ; R4 ; R7 ; R2 ; R5 ; R6 b) R1 ; R3 ; R2 ; R4 ; R7 ; R5 ; R6 c) R1 ; R3 ; R2 ; R5 ; R6 ; R4 ; R7 d) R1 ; R2 ; R5 ; R6 ; R3 ; R4 ; R7 Select ONE option. Explanation / Rationale a) Is not correct. R4 is dependent on R2, so R2 should be tested before R4 b) Is not correct. R4 is dependent on R2, R5 and R6, so R5 and R6 should be tested before R4 c) Is correct. The tests are specified in a sequence that takes the dependencies into account d) Is not correct. R2 is dependent on R3, so R3 should be tested before R2 27 / 40 27. 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 28 / 40 28. 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 29 / 40 29. 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 30 / 40 30. 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 31 / 40 31. 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) 32 / 40 32. Which of the following activities is part of the main activity "test analysis" in the test process? a) Identifying any required infrastructure and tools b) Creating test suites from test scripts c) Analyzing lessons learned for process improvement d) Evaluating the test basis for testability Select ONE option. Explanation / Rationale a) Is not correct. This activity is performed during the test design activity (test design) b) Is not correct. This activity is performed during the test implementation activity (test implementation) c) Is not correct. This activity is performed during the test completion activity (test completion) d) Is correct. This activity is performed during the test analysis activity (test analysis) 33 / 40 33. 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 34 / 40 34. Which of the following is a true statement about exploratory testing? a) More experienced testers who have tested similar applications and technologies are likely to do better than less experienced testers at exploratory testing b) Exploratory testing does not identify any additional tests beyond those that would result from formal test techniques c) The time required to complete an exploratory testing session cannot be predicted in advance d) Exploratory testing can involve the use of black-box techniques but not white-box techniques Select ONE option. Explanation / Rationale a) Is correct. Exploratory testing is a form of experience-based testing, which benefits from the skills and experience of the tester b) b) Is not correct. Exploratory testing is useful to complement formal testing techniques c) Is not correct. In session-based test management, exploratory testing is conducted within a defined time-box, and the tester uses a test charter containing test objectives to guide the testing d) Is not correct. Exploratory testing can incorporate the use of other black-box, white-box, and experience-based techniques referenced in this syllabus 35 / 40 35. 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 36 / 40 36. Consider the following list of undesirable outcomes that could occur on a mobile app development effort: A. Incorrect totals on screens B. Change to acceptance criteria during acceptance testing C. Users find the soft keyboard too hard to use with your app D. System responds too slowly to user input during search string entry E. Testers not allowed to report test results in daily standup meetings Which of the following properly classifies these outcomes as project and product risks? a) Product risks: B, E; Project risks: A, C, D b) Product risks: A, C, D; Project risks: B, E c) Product risks: A, C, D, E Project risks: B d) Product risks: A, C Project risks: B, D, E Select ONE option. Explanation / Rationale Product risks exist when a work product may fail to satisfy legitimate needs, while project risks are situations that could have a negative impact on the project’s ability to achieve its objectives. So: A. Incorrect totals on screens = product risk B. Change to acceptance criteria during acceptance testing = project risk C. Users find the soft keyboard too hard to use with your app = product risk D. System responds too slowly to user input during search string entry = product risk E. Testers not allowed to report test results in daily standup meetings = project risk Thus: a) Is not correct. This list is entirely backwards b) Is correct c) Is not correct. While E is about product quality and product risks, the failure to communicate test results is a project risk per the syllabus d) Is not correct. Product risks can be functional and non-functional, so d is also a product risk 37 / 40 37. You are reading a user story in the product backlog to prepare for a meeting with the product owner and a developer, noting potential defects as you go. Which of the following statements is true about this activity? a) It is not a static test, because static testing involves execution of the test object b) It is not a static test, because static testing is always performed using a tool c) It is a static test, because any defects you find could be found cheaper during dynamic testing d) It is a static test because static testing does not involve execution of the test object Select ONE option. Explanation / Rationale a) Is not correct. Static testing does not involve execution of the test object b) Is not correct. Some static tests involve the use of a tool, especially static analysis, but reviews (such as the activity described here) do not necessarily involve the use of a tool c) Is not correct. The review activity described here is part of a static test, but defects found in static tests are usually cheaper than those found in dynamic testing d) Is correct. Static testing does not involve execution of the test object 38 / 40 38. 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 39 / 40 39. Consider the following state transition diagram for a credit-card only, unattended gasoline pump: Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need? a) 4 b) 7 c) 1 d) Infinite Select ONE option. Explanation / Rationale Each transition must be traversed at least once. To do so, the first test can cover the happy path, a successful purchase, the next test cancels, or timeout from waiting for pumping, the next test cancels, or timeout from waiting for fuel type, and the last test the insertion of an invalid credit card. While the order is immaterial, fewer than four tests fail to cover one of the transitions inbound to waiting for customer or violates the rules about where a test starts or ends. More than four tests include tests that re-traverse already-covered transitions. Thus: a) Is correct b) Is not correct c) Is not correct d) Is not correct 40 / 40 40. 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 0% Restart quiz