Code Coverage is used as a measure of what ?
Which of the following comparisons of component testing and system testing are TRUE?Options are : Show
Answer : 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, functional specifications or use cases. Explanation 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, functional specifications or use cases. ISTQB Foundation Level Practice Mock Test Which statement below BEST describes non-functional testing?Options are :
Answer : Testing system attributes, such as usability, reliability or maintainability. Explanation Non-functional testing is testing how the system performs its functionality. Non-functional testing is testing system attributes, such as usability, reliability or maintainability. An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are
Which of the following BEST describes the difference between an inspection and a walkthrough?Options are :
Answer : An inspection is led by a moderator and a walkthrough is led by the author. Explanation An inspection is led by a moderator and a walkthrough is led by the author. ISTQB Foundation Level Practice Mock Test Which of the following is a purpose of the review planning phase?Options are :
Answer : Allocate the individual roles. Explanation Log defects is done during the "Review meeting", Explain the documents to the participants is done during the "Kick-off", Gather metrics is done during the "Follow-up" and Allocate the individual roles is done during the "Panning" phase of the review process. Which one of the following are non-functional testing methods?
Which of the following options is not related to static testing?Options are :
Answer : Test data preparation tools Explanation (A) Test data preparation tools is related to preparing data for dynamic testing (B) Early defect detection is related to early testing which is achieved by static testing (C) Scribe is a role in conducting reviews which is a static testing technique (D) Compilers is sort of static analysis tools which is a static testing technique Which of the following tools would be involved in the automation of regression
Income tax is set at a flat rate of 20% per year for all incomes but with 2 exceptions. tax exemption is given for incomes below 5000$ per year. Also, families with single worker and more than five members get 5% tax reduction. What is the number of test cases generated using decision table testing when having one test case per rule?Options are :
Answer : 8 Explanation to generate the table, we need to know the conditions that would affect our decisions. Conditions are: (1) income below 5000 (2) single worker (3) more than five members. To simplify things, all the combination that we could have here = 2 ^ 3. 2 represents (true and false) and 3 represents the number of conditions. so the answer is straight forward 2 ^ 3 = 8. ISTQB Foundation Level Practice Mock Test Which of the below would be best basis for fault attack testing?Options are :
Answer : Experience, defect and failure data, knowledge about software failures. Explanation A structured way of error guessing is called “fault attack�? where the tester enumerate through a list of possible defects and design tests that attack these defects. The list can be built over time based on tester experience. So the answer is Experience, defect and failure data, knowledge about software failures are the best basis for fault attack testing Incorrect form of Logic coverage is:
Which of the following would be the best test approach when there are poor specification or time pressures?Options are :
Answer : Exploratory testing Explanation Exploratory testing is the best test approach when there are poor specification or time pressures ISTQB Foundation Level Practice Mock Test A defect was found during testing. When the network got disconnected while receiving data from a server, the system crashed. The defect was fixed by correcting the code that checked the network availability during data transfer. The existing test cases covered 100% of all statements of the corresponding module. To verify the fix and ensure more extensive coverage, some newtests were designed and added to the test suite. What types of testing are mentioned above? i. Functional testing. ii. Structural testing. iii. Re-testing. iv. Performance testing. Options are :
Answer : i, ii and iii Explanation A defect was found during testing. (Functional Testing) The existing test cases covered 100% of all statements of the corresponding module. (Structural testing) To verify the fix (re-testing) Which of the following is not a quality characteristic listed in ISO 9126 Standard?
Which of the following statements about the benefits of deriving test cases from use cases are true?I. Deriving test cases from use cases is helpful for system and acceptance testing. Options are :
Answer : I and IV Explanation Deriving test cases from use cases is helpful for system and acceptance testing and for testing the interaction and interference between different components. Independent Verification & Validation is
ISTQB Foundation Level Practice Mock Test Statement coverage will not check forOptions are :
Answer : Missing statements Explanation White box testing like statement coverage doesn't know anything about the required functionality. White box testing doesn't use the specification to know what needed to be done so it can not check for missing logic or missing statements. To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.
How many test cases are needed to achieve 100 % statement coverage?
Options are :
Answer : 2 Explanation We only need 2 test cases: (1) temperature = 110, speed = 180, load = 30 (this will execute "alert ("DANGER");" and "speed = 50;" statements. (2) temperature = 10, (this will execute "check = false;" statement) ISTQB Foundation Level Practice Mock Test 2019 Part 1 The Switch is switched off once the temperature falls below 18 and then it is turned on when the temperature is more than 21. Identify the Equivalence values which belong to the same class.Options are :
Answer : 22,23,24 Explanation the partitions are: (1) below 18 (2) 18-21 (3) more than 21. So "22,23,24" falls under the SAME third partition/class. Boundary value testing
The specification which describes steps required to operate the system and exercise test cases in order to implement the associated test designOptions are :
Answer : Test Procedure Specification Explanation Test conditions are stored in the Test Design Specification document. Test cases are stored in the Test case Specification document. Test procedures are stored in the Test procedure Specification document. For the following code
How many test cases are needed to achieve 100% decision coverageOptions are :
Answer : 4 Explanation We need to exercise each true and false of the 3 IF statements: test case (1) A = -1 -> 1st IF FALSE. test case (2) A = 10, B = 0 -> 1st IF TRUE , 2nd IF TRUE. test case (3) A = 21, B = 10 -> 1st IF TRUE , 2nd IF FALSE, 3rd IF TRUE. test case (4) A = 20, B = 20 -> 1st IF TRUE , 2nd IF FALSE, 3rd IF FALSE. ISTQB Foundation Level Practice Mock Test A program validates a numeric field as follows:Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following covers the MOST boundary values? Options are :
Answer : 9,10,21,22 Explanation Boundaries of the partitions are: 9 - 10, 21 - 22. 11 is not a boundary Statement Coverage will not check for the following.
Which of the following BEST describes the task partition between test manager and tester?Options are :
Answer : The test manager plans, monitors and controls the testing activities, while the tester designs, executes tests and evaluates the results. Explanation The test manager plans, monitors and controls the testing activities, while the tester designs, executes tests and evaluates the results. ISTQB Mock Test Pick the best definition of quality
Stochastic testing using statistical information or operational profiles uses the following methodOptions are :
Answer : Model based testing approach Explanation Stochastic testing using statistical information or operational profiles uses the Model based testing approach which is a test strategy approach A common test technique during component test is
You are working as a tester on a project to develop a point-of-sales system for grocery stores and other similar retail outlets. Which of the following is a product risk for such a project?Options are :
Answer : Failure to accept allowed credit cards. Explanation Failure to accept allowed credit cards is a product risk. The rest are project risks Fault Masking is
Which one of the following BEST describes the purpose of a priority rating in an incident report?Options are :
Answer : To show how quickly the problem should be fixed Explanation The priority rating (also called urgency rating) in an incident report is used to show how quickly the problem should be fixed ISTQB Foundation Level Practice Mock Test What is the purpose of configuration management in testing?a. To choose and implement a suitable configuration management tool. Options are :
Answer : b, c and e One Key reason why developers have difficulty testing their own work is :
Which of the following describe test control actions that may occur during testing?I. Setting an entry criterion that developers must retest fixes before fixes are accepted into a build. Options are :
Answer : I, II and III Explanation All option are valid test control actions Which of the following activities would NORMALLY be undertaken during test planning?
Options are :
Answer : a, d and f Explanation a, d and f are test planning activities. Designing Test Conditions is done during test analysis and design. Evaluating test tools is done at any times when needed. During the software development process, at what point can the test process start?
A project that is in the implementation phase is six weeks behind schedule.The delivery date for the product is four months away. The project is not allowed to slip the delivery date or compromise on the quality standards established for his product. Which of the following actions would bring this project back on schedule? Options are :
Answer : Eliminate some of the requirements that have not yet been implemented. Explanation This is more of a project management question. adding more resources will complicate the project more as we need to train the new hires and the cmmunication between the project team will be more complicated. so it is usually not recommended and it might actually result in delaying the project more. Overtime is a NO NO in project management, never recommended. QAs will not help in speeding up the project. So the only acceptable answer is to try to talk to the customer and eliminate some of the requirements that have not yet been implemented. Which one is not characteristic of test management tool?Options are :
Answer : Check for consistency and undefined requirements Explanation Check for consistency and undefined requirements is a characteristic of Requirements management tools and not of test management tools In a review meeting a moderator is a person who
Which of the following statements best captures the difference between data-driven and keyword driven test automation?Options are :
Answer : Keyword-driven test automation extends data-driven automation by defining keywords corresponding to business processes. Explanation Keyword-driven test automation extends data-driven automation by defining keywords corresponding to business processes. Which of the following is NOT a goal of a Pilot Project for tool evaluation?Options are :
Answer : To reduce the defect rate in the Pilot Project. Explanation The defect rate has nothing to do with trying a new tool in a pilot project Acceptance test cases are based on what?
Which test activities are supported by test harness or unit test framework tools?Options are :
Answer : Test execution and logging. Explanation Test harness or unit test framework tools are used during Test execution and logging. "How much testing is enough?"
ISTQB
Questions Which of the following statements comparing component testing and system testing is true *?Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics. Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system.
Which of the following statements correctly describes the difference between testing and debugging?Q. Which of the following statements correctly describes the difference between testing and debugging? Testing shows failures caused by defects; debugging finds, analyzes, and removes the causes of failures in the software.
Which of the following statements best compares the purpose of confirmation testing and regression testing?The purpose of confirmation testing is to check that a previously found defect has been fixed, while the purpose of regression testing is to ensure that no other parts of the system have been adversely affected by the fix.
Which of the following statements best describes how tasks are divided between the Test Manager and the tester?Which of the following statements BEST describes how tasks are divided between the test manager and the tester? 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.
|