Sample questions exam c v1-1 Flashcards
https://www.istqb.org/downloads/send/54-ctfl-2018-exam-files/262-ctfl-2018-sample-questions-exam-c-v1-1-questions.html
What is quality?
a) Part of quality management focused on providing confidence that quality requirements will be
fulfilled.
b) The degree to which a component, system or process meets specified requirements and/or
user/customer needs and expectations.
c) The degree to which a component or system protects information and data so that persons or
other components or systems have the degree of access appropriate to their types and levels
of authorization.
d) The total costs incurred on quality activities and issues and often split into prevention costs,
appraisal costs, internal failure costs and external failure costs.
b) Is correct: this is the Glossary definition of quality
Which of the following is a typical test objective?
a) Preventing defects
b) Repairing defects
c) Comparing actual results to expected results
d) Analyzing the cause of failure
a) Correct answer. This is an objective listed in section 1.1.
A phone ringing in an adjac
ent cubicle 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
d) Is correct: the problem in the code is a defect.
A product owner says that your role as a tester on an Agile team is to catch all the bugs before the end of each iteration. Which of the following is a testing principle that could be used to respond to this statement? a) Defect clustering b) Testing shows the presence of defects c) Absence of error fallacy d) Root cause analysis Select ONE option.
b) Is correct: testing can show the presence of defects but cannot
prove their absence, which makes it impossible to know if you
have caught all the bugs. Further, the impossibility of
exhaustive testing makes it impossible for you to catch all the
bugs.
Programmers often write and execute unit tests against code which they have written. During this selftesting 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
d) Is correct: this tester mindset in section 1.5.2, attention to
detail, will help programmers find defects during unit testing
Consider the following testing activities:
1. Selecting regression tests
2. Evaluating completeness of test execution
3. Identifying which user stories have open defect reports
4. Evaluating whether the number of tests for each requirement is consistent with the level of
product risk
Consider the following ways traceability can help testing:
A. Improve understandability of test status reports to include status of test basis items
B. Make testing auditable
C. Provide information to assess process quality
D. Analyze the impact of changes
Which of the following best matches the testing activity with how traceability can assist that activity?
a) 1D, 2B, 3C, 4A
b) 1B, 2D, 3A, 4C
c) 1D, 2C, 3A, 4B
d) 1D, 2B, 3A, 4C
Traceability assists with:
• Selecting regression tests in terms of analyzing the impact of
changes.
• Evaluating completeness of test execution which makes
testing auditable.
• Identifying which user stories have open defect reports
which improves understandability of test status reports to
include status of test basis items.
• Evaluating whether the number of tests for each requirement
is consistent with the level of product risk which provides
information to assess test process quality (i.e., alignment of
test effort with risk).
Therefore, d is correct, per section 1.4.4.
A tester participated in a discussion about proposed database structure. The tester identified a potential
performance problem related to certain common user searches. This possible problem was explained
to the development team. Which of the following is a testing contribution to success that BEST matches
this situation?
a) Enabling required tests to be identified at an early stage
b) Ensuring processes are carried out properly
c) Reducing the risk of fundamental design defects
d) Reducing the risk of untestable functionality
c) Is correct: reducing the risk of fundamental design defects is a
testing contribution to success per section 1.2.1. Database
structure is related to design, and performance problems can
be a significant product risk.
Which of the following is an example of a task that can be carried out as part of the test process?
a) Analyzing a defect
b) Designing test data
c) Assigning a version to a test item
d) Writing a user story
b) Is correct: creating test data is a test implementation task per
section 1.4.2.
You are running a performance test with the objective of finding possible network bottlenecks in
interfaces between components of a system. Which of the following statements describes this test?
a) A functional test during the integration test level
b) A non-functional test during the integration test level
c) A functional test during the component test level
d) A non-functional test during the component test level
b) Is correct: this test matches the description of an integration
test and it is a non-functional test.
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
c) Is correct: per section 2.4, impact analysis can be used to
select regression tests for maintenance testing.
Consider the following types of defects that a test level might focus on:
1. Defects in separately testable modules or objects
2. Not focused on identifying defects
3. Defects in interfaces and interactions
4. Defects in the whole test object
Which of the following list correctly matches test levels from the Foundation syllabus with the defect
focus options given above?
a) 1 = performance test; 2 = component test; 3 = system test; 4 = acceptance test
b) 1 = component test; 2 = acceptance test; 3 = system test; 4 = integration test
c) 1 = component test; 2 = acceptance test; 3 = integration test; 4 = system test
d) 1 = integration test; 2 = system test; 3 = component test; 4 = acceptance test
Performance testing is a test type per section 2.3, not a test level.
Per section 2.2., component testing focuses on defects in
separately testable modules or objects, integration testing on
defects in interfaces and interactions, system testing on defects in
the whole test object, and acceptance testing is not typically
focused on identifying defects.
Therefore, c is the correct answer
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.
d) Is correct: per section 2.3.2, testing supported devices is a
non-functional test, specifically a portability test.
During an Agile development effort, a product owner discovers a previously-unknown regulatory
requirement that applies to most of the user stories within a particular epic. The user stories are
updated to provide for the necessary changes in software behavior. The programmers on the team are
modifying the code appropriately. As a tester on the team, what types of tests will you run?
a) Confirmation tests
b) Regression tests
c) Functional tests
d) Change-related tests
The change in behavior may be either functional or nonfunctional, per section 2.3.1 and 2.3.2, but, per section 2.3.4, you
need to run change-related tests, some of which are confirmation
tests and others are regression tests.
Therefore, d is the correct answer.
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.
a) Is correct: per section 3.2.2, the facilitator or moderator runs
the review meetings.
You are reading a user story in the product backlog to prepare for a meeting with the product owner
and a developer, noting potential defects as you go. Which of the following statements is true about this
activity?
a) It is not a static test, because static testing involves execution of the test object
b) It is not a static test, because static testing is always performed using a tool
c) It is a static test, because any defects you find could be found cheaper during dynamic testing
d) It is a static test, because static testing does not involve execution of the test object.
d) Is correct: per section 3.1, static testing does not involve
execution of the test object.
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
b) Is correct: per section 3.2.5, adequate time for preparation is
important, but people are working overtime and no
adjustments are made for this new set of tasks.
You are working as a tester on an Agile team, and have participated in over two dozen user story
refinement sessions with the product owner and the developers on the team at the start of each
iteration. As the reviews have gotten more effective at detecting defects in user stories and the product
owner more adept at correcting those defects, you and the team notice that the team’s velocity, as
shown in your burndown charts, has started to increase. Which of the following is a benefit of static
testing that MOST DIRECTLY applies to increased velocity?
a) Increasing total cost of quality
b) Reducing testing cost
c) Increasing development productivity
d) Reducing total cost of quality
c) Is correct: section 3.1.2 lists this as a benefit of static testing,
and velocity is a way of measuring productivity in Agile
development.
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
b) Is correct: section 3.1.3 lists contradiction as 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.
What is decision coverage?
a) The percentage of condition outcomes that have been exercised by a test suite
b) Decision coverage is a synonym for statement coverage
c) The percentage of executable statements that have been exercised by a test suite
d) The percentage of decision outcomes that have been exercised by a test suite
d) Is correct: this is the Glossary definition of coverage as applied
to decisions.
Prior to an iteration planning session, you are studying a user story and its acceptance criteria, deriving
test conditions and associated test cases from the user story as a way of applying the principle of early
QA and test. What test technique are you applying?
a) White-box
b) Black-box
c) Experience-based
d) Error guessing
b) Is correct: per section 4.1.2, behavior-based or black-box
techniques are based on an analysis of the appropriate test
basis (e.g., formal requirements documents, specifications,
use cases, user stories, or business processes), w
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
a) Is correct: exploratory testing is a form of experience-based
testing, which benefits from the skills and experience of the
tester, per section 4.4.
You are testing a mobile app that allows customers to access and manage their bank accounts. You
are running a test suite that involves evaluating each screen and each field on each screen against a
general list of user interface best practices, derived from a popular book on the topic, that maximize
attractiveness, ease-of-use, and accessibility for such apps. Which of the following options BEST
categorizes the test technique you are using?
a) Specification-based
b) Exploratory
c) Checklist-based
d) Error guessing
c) Is correct: the list of user interface best practices is the list of
test conditions described in section 4.4.3.
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
d) Is correct: per section 4.3.2, 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.
A batch application has been in production unchanged for over two years. It runs overnight once a
month to produce statements that will be e-mailed to customers. For each customer, the application
goes through every account and lists every transaction on that account in the last month. It uses a
nested-loop structure to process customers (outer loop), each customer’s accounts (middle loop), and
each account’s transactions (inner loop).
One night, the batch application terminates prematurely, failing to e-mail statements to some
customers, when it encounters a customer with one account for which no transactions occurred in the
last month. This is a very unusual situation and has not occurred in the years since this application was
placed in production.
While fixing the defect, a programmer asks you to recommend test techniques that are effective against
this kind of defect. Which of the following test techniques would most likely have been able to detect
the underlying defect?
a) Decision testing
b) Statement testing
c) Checklist-based testing
d) Error guessing
a) Is correct: per section 4.3.3, for a loop construct, statement
coverage only requires that all statements within the loop are
executed, but decision coverage requires testing of both the
conditions where the loop is executed and when it is bypassed.