Sample Exam - Questions v1.3 Flashcards
https://www.istqb.org/downloads/send/54-ctfl-2018-exam-files/212-ctfl-2018-sample-exam-a.html
Which one of the following answers describes a test condition?
a) An attribute of a component or system specified or implied by requirements documentation.
b) An aspect of the test basis that is relevant to achieve specific test objectives.
c) The degree to which a software product provides functions which meet stated and implied
needs when the software is used under specified conditions.
d) The percentage of all single condition outcomes that independently affect a decision
outcome that have been exercised by a test suite.
b) Is correct: From glossary
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 find as many failures as possible so that defects can be identified and corrected.
c) To prove that all possible defects are identified.
d) To prove that any remaining defects will not cause any failures
b) Is correct: This is one objective of testing (syllabus chapter
1. 1.1).
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 finds, analyzes, and removes
the causes of failures in the software.
c) Testing removes defects; debugging identifies the causes of failures.
d) Dynamic testing prevents the causes of failures; debugging removes the failures.
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, not the root cause of the
defects (syllabus 1.1.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.
a) Is correct: A crash is clearly noticeable by the user (syllabus
chapter 1.2.3).
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?
a) Testing depends on the environment.
b) Exhaustive testing is not possible.
c) Repeating of tests will not find new defects.
d) Defects cluster together.
Select ONE option.
c.) Is correct: Syllabus 1.3: principle #5 says “If the same tests
are repeated over and over again, eventually these tests no
longer find any new defects. To detect new defects, existing
tests and test data may need changing, and new tests may
need to be written.” Automated regression testing of the same
test cases will not bring new findings
In what way can testing be part of Quality Assurance?
a) It ensures that requirements are detailed enough.
b) It contributes to the achievement of quality in a variety of ways.
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.
b) Is correct: Syllabus 1.2.2. Testing contributes to the
achievement of quality in a variety of ways, e.g. such as
reducing the risk of inadequate software quality (syllabus
chapter 1.1.1).
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.
d) Is correct: This activity is performed during the test analysis
activity (syllabus chapter 1.4.2, test analysis).
Match the following test work products (1-4) with the right description (A-D).
1. Test suite.
2. Test case.
3. Test script.
4. Test charter.
A. A group of test scripts with a sequence of instructions.
B. A set of instructions for the execution of a test.
C. Contains expected results.
D. An instruction of test goals and possible test ideas on how to test.
a) 1A, 2C, 3B, 4D.
b) 1D, 2B, 3A, 4C.
c) 1A, 2C, 3D, 4B.
d) 1D, 2C, 3B, 4A
a) 1A, 2C, 3B, 4D.
How can white-box testing be applied during 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.
c) Is correct: syllabus chapter 2.3.5: For acceptance testing, tests
are designed to cover all supported financial data file
structures and value ranges for bank-to-bank transfers
Which of the following statements comparing component testing and system testing is TRUE?
a) Component testing verifies the functionality of software modules, program objects, and
classes that are separately testable, whereas system testing verifies interfaces between
components and interactions between different parts of the system.
b) Test cases for component testing are usually derived from component specifications,
design specifications, or data models, whereas test cases for system testing are usually
derived from requirement specifications or use cases.
c) Component testing only focuses on functional characteristics, whereas system testing
focuses on functional and non-functional characteristics.
d) Component testing is the responsibility of the testers, whereas system testing typically is
the responsibility of the users of the system.
b) Is correct: Syllabus 2.2.1: Examples of work products that can
be used as a test basis for component testing include detailed
design, code, data model, component specifications. Syllabus
2.2.3: Examples of work products for system testing include
system and software requirement specifications (functional and
non-functional) use cases.
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.
c) Is correct: Syllabus chapter 2.3.4.
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 begins 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.
a) Is correct: Syllabus chapter 2.1.1: incremental development
involves establishing requirements, designing, building, and
testing a system in pieces.
Which of the following should NOT be a trigger for maintenance testing?
a) Decision to test the maintainability of the software.
b) Decision to test the system after migration to a new operating platform.
c) Decision to test if archived data is possible to be retrieved.
d) Decision to test after “hot fixes”.
a) Is correct: This is maintainability testing, not maintenance
testing.
Which of the following options are roles in a formal review?
a) Developer, Moderator, Review leader, Tester.
b) Author, Moderator, Manager, Developer.
c) Author, Manager, Review leader, Designer.
d) Author, Moderator, Review leader, Scribe.
d) Is correct: See syllabus chapter 3.2.2
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) Verification of input criteria for the review..
d) Evaluation of the review findings against the exit criteria.
c) Is correct: According to syllabus chapter 3.2.1: The checking
of entry criteria takes place in the planning of a formal review