0% 3 12345678910111213141516171819202122232425262728293031323334353637383940 Created on June 25, 2024 By Admin 2018v3.1 - Exam 4 - 75 minutes Name 1 / 40 1. Which one of the following is the BEST definition of an incremental development model? a) Defining requirements, designing software and testing are done in phases where in each phase a piece of the system is added b) A phase in the development process should begin when the previous phase is complete c) Testing is viewed as a separate phase which takes place after development has been completed d) Testing is added to development as an increment Select ONE option. Explanation / Rationale a) Is correct. Incremental development involves establishing requirements, designing, building, and testing a system in pieces b) Is not correct. This is a sequential model c) Is not correct. This describes the waterfall model d) Is not correct. Testing alone is not an increment/additional step in the development 2 / 40 2. 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 3 / 40 3. 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 4 / 40 4. 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 5 / 40 5. Which of the following is a common test metric often used to monitor BOTH test preparation and test execution? a) Test case status b) Defect find/fix rates c) Test environment preparation d) Estimated cost to find the next defect Select ONE option. Explanation / Rationale a) Is correct. Percentage of test cases prepared is a common metric during test preparation while percentage of test cases passed, failed, not run, etc., are common during test execution b) Is not correct. Defect reports are typically filed during test execution, based on failures found c) Is not correct. Test environment preparation is part implementation and would generally be complete before test execution d) Is not correct. Defects are typically reported during test execution, based on failures found, so the cost to find the next defect is available during test execution only 6 / 40 6. An employee’s bonus is to be calculated. It cannot be negative, but it can be calculated down to zero. The bonus is based on the length of employment: • Less than or equal to 2 years • More than 2 years but less than 5 years • 5 to 10 years inclusively • Longer than 10 years What is the minimum number of test cases required to cover all valid equivalence partitions for calculating the bonus? a) 3 b) 5 c) 2 d) 4 Select ONE option. Explanation / Rationale a) Is not correct. One too few (see the four correct partitions in the correct answer) b) Is not correct. One too much (see the four correct partitions in the correct answer) c) Is not correct. Two too few (see the four correct partitions in the correct answer) d) Is correct. The 4 equivalence partitions correspond to the description in the question, i.e., at least one test case must be created for each equivalence partition: 1. Equivalence partition: 0 ≤ employment time ≤ 2 2. Equivalence partition: 2 < employment time < 5 3. Equivalence partition: 5 ≤ employment time ≤ 10 4. Equivalence partition: 10 < employment time 7 / 40 7. Which of the following provides the definition of the term test case? a) Subset of the value domain of a variable within a component or system in which all values are expected to be treated the same based on the specification b) A set of preconditions, inputs, actions, expected results and post conditions, developed based on test conditions c) Work products produced during the test process for use in planning, designing, executing, evaluating, and reporting on testing d) A source to determine an expected result to compare with the actual result of the system under test Select ONE option. Explanation / Rationale a) Is not correct. Based on definition of equivalence partition b) Is correct. Based on definition from Glossary c) Is not correct. Based on Glossary definition of testware d) Is not correct. Based on definition of test oracle 8 / 40 8. A mass market operating system software product is designed to run on any PC hardware with an x86-family processor. You are running a set of tests to look for defects related to support of the various PCs that use such a processor and to build confidence that important PC brands will work. What type of test are you performing? a) Performance test b) Processor test c) Functional test d) Portability test Select ONE option. Explanation / Rationale a) Is not correct. The test described is a non-functional test, it is a portability test, not a performance test b) Is not correct. Processor test is not a defined test type c) Is not correct. The test described is a non-functional test, specifically a portability test d) Is correct. Testing supported devices is a non-functional test, specifically a portability test 9 / 40 9. 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 10 / 40 10. 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) 11 / 40 11. 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 12 / 40 12. 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 13 / 40 13. 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 14 / 40 14. How can white-box testing be applied during user acceptance testing? a) To check if large volumes of data can be transferred between integrated systems b) To check if all code statements and code decision paths have been executed c) To check if all work process flows have been covered d) To cover all web page navigations Select ONE option. Explanation / Rationale a) Is not correct. Relevant for integration testing b) Is not correct. Relevant for component testing c) Is correct. For acceptance testing, tests are designed to cover all workflows defined in the functional requirements documents. d) Is not correct. Relevant for system testing 15 / 40 15. 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 16 / 40 16. 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 17 / 40 17. 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) 18 / 40 18. 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 19 / 40 19. 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 20 / 40 20. 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 21 / 40 21. 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 22 / 40 22. 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 23 / 40 23. Which activities are carried out within the planning of a formal review? a) Collection of metrics for the evaluation of the effectiveness of the review b) Answer any questions the participants may have c) Definition and Verification of fulfillment of entry criteria for the review d) Evaluation of the review findings against the exit criteria Select ONE option. Explanation / Rationale a) Is not correct. ‘Collection of metrics’ belongs to the main activity “Fixing and Reporting” b) Is not correct. ‘Answer any question.’ belongs to the main activity “Initiate Review” c) Is correct. The checking of entry criteria takes place in the planning of a formal review d) Is not correct. The evaluation of the review findings against the exit criteria belongs to the main activity “Issue communication and analysis” 24 / 40 24. 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 25 / 40 25. Consider a mobile app that allows customers to access and manage their bank accounts. A user story has just been added to the set of features that checks customers’ social media accounts and bank records to give personalized greetings on birthdays and other personal milestones. Which of the following test techniques could a PROGRAMMER use during a unit test of the code to ensure that coverage of situations when the greetings ARE supposed to occur and when the greetings ARE NOT supposed to occur? a) Statement testing b) Exploratory testing c) State transition testing d) Decision testing Select ONE option. Explanation / Rationale a) Is not correct. Statement testing exercises the executable statements in the code, which might result in the absence of certain greetings not being tested b) Is not correct. Unless the test charter specifically mentioned testing both the presence and the absence of each type of greeting, coverage can be difficult to assess for an exploratory test c) Is not correct. State transition testing is useful for situations where the test object responds differently to an input depending on current conditions or previous history, but in this case the test object must decide whether the current date matches a particular milestone and thus whether to display the relevant greeting d) Is correct. Decision testing involves test cases that follow the control flows that occur from a decision point, which in this case would be deciding whether a greeting should or should not be given 26 / 40 26. 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 27 / 40 27. Which of the following BEST describes the concept behind error guessing? a) Error guessing requires you to imagine you are the user of the test object and guess mistakes the user could make interacting with it b) Error guessing involves using your personal experience of development and the mistakes you made as a developer c) Error guessing involves using your knowledge and experience of defects found in the past and typical mistakes made by developers d) Error guessing requires you to rapidly duplicate the development task to identify the sort of mistakes a developer might make Select ONE option. Explanation / Rationale a) Is not correct. error guessing is not a usability technique for guessing how users may fail to interact with the test object b) Is not correct. Although a tester who used to be a developer may use their personal experience to help them when performing error guessing, the technique is not based on prior knowledge of development c) Is correct. The basic concept behind error guessing is that the tester tries to guess what mistakes may have been made by the developer and what defects may be in the test object based on past-experience (and sometimes checklists) d) Is not correct. Duplicating the development task has several flaws that make it impractical, such as the requirement for the tester to have equivalent skills to the developer and the time involved in performing the development. It is not error guessing 28 / 40 28. 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 29 / 40 29. During a period of intensive project overtime, a system architecture document is sent to various project participants, announcing a previously unplanned technical review to occur in one week. No adjustments are made to the participants’ list of assigned tasks. Based on this information alone, which of the following is a factor for review success that is MISSING? a) Appropriate review type b) Adequate time to prepare c) Sufficient metrics to evaluate the author d) Well-managed review meeting Select ONE option. Explanation / Rationale a) Is not correct. Technical reviews are appropriate for technical documents such as a system architecture b) Is correct. Adequate time for preparation is important, but people are working overtime and no adjustments are made for this new set of tasks c) Is not correct. Gathering metrics from a review to evaluate participants is a factor that leads to failure, not success, because it destroys trust d) Is not correct. A well-managed review meeting is important, but there is no reason to think the review meeting will not be well managed based on the information provided 30 / 40 30. 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 31 / 40 31. Programmers often write and execute unit tests against code which they have written. During this self-testing activity, which of the following is a tester mindset that programmers should adopt to perform this unit testing effectively? a) Good communication skills b) Code coverage c) Evaluating code defects d) Attention to detail Select ONE option. Explanation / Rationale a) Is not correct. The programmer appears to be performing unit testing on their own code b) Is not correct. Code coverage is useful for unit testing, but it is not a tester mindset c) Is not correct. The programmer’s mindset included contemplating what might be wrong with the code, but that is not a tester’s mindset d) Is correct. This tester mindset, attention to detail, will help programmers find defects during unit testing 32 / 40 32. 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 33 / 40 33. Which of the following statements about test types and test levels is CORRECT? a) Functional and non-functional testing can be performed at system and acceptance test levels, while white-box testing is restricted to component and integration testing b) Functional testing can be performed at any test level, while white-box testing is restricted to component testing c) It is possible to perform functional, non-functional and white-box testing at any test level d) Functional and non-functional testing can be performed at any test level, while white-box testing is restricted to component and integration testing Select ONE option. Explanation / Rationale a) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, although it is correct that functional and non-functional testing can be performed at system and acceptance test levels, it is incorrect to state that white-box testing is restricted to component and integration testing b) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, it is incorrect to state that white-box testing is restricted to component testing c) Is correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level d) Is not correct. It is possible to perform any of the test types (functional, non-functional, white-box) at any test level - so, it is incorrect to state that white-box testing is restricted to component testing and integration testing 34 / 40 34. 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 35 / 40 35. 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 36 / 40 36. You are testing a mobile app that allows users to find a nearby restaurant, based on the type of food they want to eat. Consider the following list of test cases, priorities (smaller number is high priority), and dependencies, in the following format: Which of the following is a possible test execution schedule that considers both priorities and dependencies? a) 01.001, 01.002, 01.003, 01.005, 01.004 b) 01.001, 01.002, 01.004, 01.003, 01.005 c) 01.003, 01.004, 01.002, 01.001, 01.002 d) 01.001, 01.002, 01.004, 01.005, 01.003 Select ONE option. Explanation / Rationale Test 01.001 must come first, followed by 01.002, to satisfy dependencies. Afterwards, 01.004 and 01.003 should be run in either order, followed by 01.005, to satisfy priority. Thus: a) Is not correct b) Is correct c) Is not correct d) Is not correct 37 / 40 37. 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 38 / 40 38. 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) 39 / 40 39. Which of the following is a typical objective of testing? a) To find defects and failures b) To validate the project plan works as required c) Ensuring of complete testing d) Comparing actual results with expected results Select ONE option. Explanation / Rationale a) Is correct. One of the major objectives of testing b) Is not correct. Validation of the project plan would be a project management activity c) Is not correct. Contradiction to principle #2; complete/exhaustive testing is not possible d) Is not correct. “Comparing actual results with expected results” is a test performing activity, but not a test objective 40 / 40 40. 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 0% Restart quiz