Sample example b v1.1 Flashcards
https://www.istqb.org/downloads/send/54-ctfl-2018-exam-files/246-ctfl-2018-sample-questions-exam-b-v1-1-questions.html
Which of the following provides the BEST description of a test case?
a) A document specifying a sequence of actions for the execution of a test. Also known as test
script or manual test script.
b) A set of input values and expected results, with execution preconditions and execution
postconditions, developed for a particular test condition.
c) An attribute of a system specified by requirements documentation (for example reliability,
usability or design constraints) that is executed in a test.
d) 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.
b) Correct: Based on definition from Glossary.
Which of the following is a major objective of testing?
a) To prevent defects.
b) To validate the project plan works as required.
c) To gain confidence in the development team.
d) To make release decisions for the system under test.
Select ONE option.
a) Correct: One of the major objectives of testing from the
syllabus (1.1.1).
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 in km/h.
c) Correct: This is a deviation from the expected functionality - a
cruise control system should not be affected by the radio.
Which of the following is a defect rather than a root cause in a fitness tracker?
a) 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.
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 she had never worked on wearable devices before, the designer of the user interface
misunderstood the effects of reflected sunlight.
c) Correct: The incorrect configuration data represents faulty
software in the fitness tracker (a defect), that may cause
failures.
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.
d) 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.
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
A. Test design – (2) Identifying test data to support the test
cases
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.
b) 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.
Which of the following qualities is MORE likely to be found in a tester’s mindset rather than in a
developer’s?
a) Experience on which to base their efforts.
b) Ability to see what might go wrong.
c) Good communication with team members.
d) Attention to detail.
b) Correct: Developers are often more interested in designing
and building solutions than in contemplating what might be
wrong with those solutions.
Given the following statements about the relationships between software development activities and
test activities in the software development lifecycle:
1. Each development activity should have a corresponding testing activity.
2. Reviewing should start as soon as final versions of documents become available.
3. The design and implementation of tests should start during the corresponding development.
activity
4. Testing activities should start in the early stages of the software development lifecycle.
Which of the following CORRECTLY shows which are true and false?
a) True – 1, 2; False – 3, 4
b) True – 2, 3; False – 1, 2
c) True – 1, 2, 4; False – 3
d) True – 1, 4; False – 2, 3
- Testing activities should start in the early stages of the
software development lifecycle. TRUE - as described in the
syllabus (2.1.1).
Given that the testing being performed has the following attributes:
based on interface specifications;
focused on finding failures in communication;
the test approach uses both functional and structural test types.
Which of the following test levels is MOST likely being performed?
a) Component integration testing.
b) Acceptance testing.
c) System testing.
d) Component testing.
Considering the scenario and the syllabus (2.2):
1. ‘testing is based on interface specifications’ – the test basis
for component integration testing includes interface
specifications (along with communication protocol
specification), while these are not included for any of the
other test levels
2. ‘testing is focused on finding failures in communication’ -
failures in the communication between tested components
is included as a typical failure for component integration
testing, but failures in communication is not included for
any of the other test levels
3. ‘the test approach uses both functional and structural test
types’ - functional and structural test types are both
included as possible approaches for component integration
testing, and would also be appropriate for any of the other
test levels, although they are only otherwise explicitly
mentioned in the syllabus for system testing
Thus, option A is correct.
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 Whitebox testing
is restricted to component and integration testing.
c) Correct: It is possible to perform any of the test types
(functional, non-functional, white-box) at any test level.
Which of the following statements BEST compares the purposes of confirmation testing and regression
testing?
a) The purpose of regression testing is to ensure that all previously run tests still work correctly,
while the purpose of confirmation testing is to ensure that any fixes made to one part of the
system have not adversely affected other parts.
b) 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.
c) The purpose of regression testing is to ensure that any changes to one part of the system have
not caused another part to fail, while the purpose of confirmation testing is to check that all
previously run tests still provide the same results as before.
d) The purpose of confirmation testing is to confirm that changes to the system were made
successfully, while the purpose of regression testing is to run tests that previously failed to
ensure that they now work correctly.
b) Correct: The descriptions of both confirmation and
regression testing match the intent of those in the
syllabus
Which of the following statements CORRECTLY describes a role of impact analysis in Maintenance
Testing?
a) Impact analysis is used when deciding if a fix to a maintained system is worthwhile.
b) Impact analysis is used to identify how data should be migrated into the maintained system.
c) Impact analysis is used to decide which hot fixes are of most value to the user.
d) Impact analysis is used to determine the effectiveness of new maintenance test cases
a) Correct: Impact analysis may be used to identify those
areas of the system that will be affected by the fix, and so
the extent of the impact (e.g. necessary regression
testing) can be used when deciding if the change is
worthwhile, as per syllabus (2.4.2).
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 removing 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.
d) Correct: This is a benefit of static analysis, as per
syllabus (3.1.2).
Which of the following sequences BEST shows the main activities of the work product review process?
a) Initiate review – Reviewer selection – Individual review – Issue communication and analysis –
Rework
b) Planning & preparation – Overview meeting – Individual review – Fix– Report
c) Preparation – Issue Detection – Issue communication and analysis – Rework – Report
d) Plan – Initiate review – Individual review – Issue communication and analysis – Fix defects &
report
Select ONE option.
d) Correct: This is the order of the activities as provided in the syllabus (3.2.1).