แบบฝึกหัด ISTQB Certified Tester Foundation Level (CTFL) Part 1


ISTQB Certified Tester Foundation Level Exercises


Content

  1. Keywords
  2. FL-1.x
  3. FL-1.1.1 Identify typical objectives of testing (K1)
  4. FL-1.1.2 Differentiate testing from debugging (K2)
  5. FL-1.2.3 Distinguish between error, defect, and failure (K2)
  6. FL-1.2.4 Distinguish between the root cause of a defect and its effects (K2)
  7. FL-1.3.1 Explain the seven testing principles (K2)

Keywords


Question1 Which of the following provides the BEST description of a test case?

  1. A document specifying a sequence of actions for the execution of a test. Also known as test script or manual test script.
  2. A set of input values and expected results, with execution pre-conditions and execution post -conditions, developed for a particular test condition.
  3. An attribute of a system specified by requirements documentation (for example reliability, usability or design constraints) that is executed in a test.
  4. An item or event of a system that could be verified by one or more test conditions, e.g., a function, transaction, feature, quality attribute, or structural element.




Question2 Which of the following provides the BEST description of exploratory testing?

  1. A testing practice in which an in-depth investigation of the background of the test object is used to identify potential weaknesses that are examined by test cases.
  2. An approach to testing whereby the testers dynamically design and execute tests based on their knowledge, exploration of the test item and the results of previous tests.
  3. An approach to test design in which test activities are planned as uninterrupted sessions of test analysis and design, often used in conjunction with checklist-based testing.
  4. Testing based on the tester's experience, knowledge and intuition.




FL-1.x

Question3 Which one of the following answers describes a test condition?

  1. An attribute of a component or system specified or implied by requirements documentation.
  2. An aspect of the test basis that is relevant to achieve specific test objectives.
  3. The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions.
  4. The percentage of all single condition outcomes that independently affect a decision outcome that have been exercised by a test suite.




FL-1.1.1 Identify typical objectives of testing (K1)

Question4 Which of the following statements is a valid objective for testing?

  1. The test should start as late as possible so that development had enough time to create a good product.
  2. To find as many failures as possible so that defects can be identified and corrected.
  3. To prove that all possible defects are identified.
  4. To prove that any remaining defects will not cause any failures.




Question5 Which of the following is a major objective of testing?

  1. To prevent defects.
  2. To validate the project plan works as required.
  3. To gain confidence in the development team.
  4. To make release decisions for the system under test.



FL-1.1.2 Differentiate testing from debugging (K2)

Question6 Which of the following statements correctly describes the difference between testing and debugging?

  1. Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities.
  2. Dynamic testing shows failures caused by defects; debugging finds, analyzes, and removes the causes of failures in the software.
  3. Testing removes defects; debugging identifies the causes of failures.
  4. Dynamic testing prevents the causes of failures; debugging removes the failures.



FL-1.2.3 Distinguish between error, defect, and failure (K2)

Question7 Which one of the statements below describes the most common situation for a failure discovered during testing or in production?

  1. The product crashed when the user selected an option in a dialog box.
  2. The wrong version of a compiled source code file was included in the build.
  3. The computation algorithm used the wrong input variables.
  4. The developer misinterpreted the requirement for the algorithm.



Question8 Which of the following is an example of a failure in a car cruise control system?

  1. The developer of the system forgot to rename variables after a cut-and-paste operation.
  2. Unnecessary code that sounds an alarm when reversing was included in the system.
  3. The system stops maintaining a set speed when the radio volume is increased or decreased.
  4. The design specification for the system wrongly states speeds in km/h.



FL-1.2.4 Distinguish between the root cause of a defect and its effects (K2)

Question9 Which of the following is a defect rather than a root cause in a fitness tracker?

  1. Because he was unfamiliar with the domain of fitness training, the author of the requirements wrongly assumed that users wanted heartbeat in beats per hour.
  2. The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect.
  3. An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times.
  4. Because she had never worked on wearable devices before, the designer of the user interface misunderstood the effects of reflected sunlight.



FL-1.3.1 Explain the seven testing principles (K2)

Question10 Mr. Test has been testing software applications on mobile devices for a period of 5 years. He has a wealth of experience in testing mobile applications and achieves better results in a shorter time than others. Over several months Mr. Test did not modify the existing automated test cases and did not create any new test cases. This leads to fewer and fewer defects being found by executing the tests. What principle of testing did Mr. Test not observe?

  1. Testing depends on the environment.
  2. Exhaustive testing is not possible.
  3. Repeating of tests will not find new defects.
  4. Defects cluster together.



Question11 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?

  1. Beware of the pesticide paradox.
  2. Testing is context dependent.
  3. Absence-of-errors is a fallacy.
  4. Defects cluster together.



No comments:

Post a Comment