Đề 04
Đề 04
You are designing test cases based on the following decision table.
(D) No additional test case can increase the already achieved decision table coverage
(C) 19-year-old, registered woman with 5 years of experience; expected result: category D
(B) 55-year-old, unregistered woman with 2 years of experience; expected result: category
A
Correct answer
You are working on a project to develop a system to analyze driving test results. You have been asked to
design test cases based on the following decision table
What test data will show that there are contradictory rules in the decision table?
Correct answer
(D) C1 = F, C2 = F, C3 = F
(A) C1 = T, C2 = T, C3 = F
(C) C1 = T, C2 = T, C3 = T and C1 = F, C2 = T, C3 = T
(B) C1 = T, C2 = F, C3 = T
Which of the following is an example of how product risk analysis influences thoroughness and scope of
testing?
Correct answer
(D) Risk assessment revealed a very high level of performance risks, so it was decided to
perform detailed performance efficiency testing early in the SDLC
(C) During the quantitative risk analysis, the team estimated the total level of all identified
risks and reported it as the total residual risk before testing
(B) One of the identified risks was "Lack of support of open-source databases", so the
team decided to integrate the system with an open-source database
(A) The test manager monitors and reports the level of all known risks on a daily basis so
the stakeholders can make an informed decision on the release date
Correct answer
(D) Regression testing is concerned with adverse effects in unchanged code, whereas
confirmation testing is concerned with testing changed code
(B) Regression tests are created and run when the test object is fixed, whereas
confirmation tests are run whenever the test object is enhanced
(C) Regression testing is concerned with checking that the operational environment
remains
unchanged, whereas confirmation testing is concerned with testing changes to the test
object
(A) Regression tests increase in number as the project progresses, whereas the number of
confirmation tests decreases as the project progresses
Giải thích tổng thể
FL-2.2.3
(A) Is not correct. Regression tests increase in number as the project progresses, as new regression
tests are typically required as changes are made to the system. Similarly, the number of confirmation
tests also typically increases as the project progresses as new confirmation tests are needed for each
fix made to a system
(B) Is not correct. It is the other way round. Confirmation tests are created and run when the test object
is fixed, and regression tests are (ideally) run whenever the test object is enhanced (changed)
(C) Is not correct. Confirmation testing verifies that a defect has been fixed correctly and so is
concerned with testing changes to the test object. However, regression testing ensures that changes
(including changes to the operational environment) do not have negative effects on unchanged
software and so does not check that the operational environment remains unchanged
(D) Is correct. Regression testing ensures that changes do not have negative effects on unchanged
software. Confirmation testing verifies that a defect has been fixed – and so is concerned with changed
code
A designer documents a design for a user interface that does not suitably address disabled users because
the designer is tired. The programmer implements the user interface in line with the design but as they are
working under severe time pressure, they do not include suitable exception handling in their program code
for bonus calculations. When the operational system is used, complaints are made by some disabled users
about the interface and the company is subsequently fined by the relevant regulatory authority. No one
notices that bonus calculations are sometimes incorrect.
Which of the following statements is CORRECT?
Correct answer
(C) The programmer working under severe time pressure is a root cause
(B) The fine received for failing to address some disabled users is a failure
What is the relationship between the testing quadrants, test levels and test types?
(C) Testing quadrants assign the test types that can be performed to the test levels
(B) Testing quadrants describe the degree of granularity of individual test types performed
at each test leve
Correct answer
(D) Testing quadrants group test levels and test types by several criteria such as targeting
specific stakeholders
(A) Testing quadrants represent particular combinations of test levels and test types,
defining their location in the software development lifecycle
Giải thích tổng thể
FL-5.1.7
(A) Is not correct. Testing quadrants group test levels and test types separately according to several
criteria. They do not represent any combinations of test levels and test types and they are not related to
any location within a software development lifecycle. Both test levels and test types are treated
separately in the testing quadrants model
(B) Is not correct. Testing quadrants group test levels and test types according to several criteria. They
do not describe the degree of granularity of individual test types performed at each test level. Such a
model, regarding the test levels, is called the test pyramid
(C) Is not correct. The statement is wrong, because in general any test type can be performed at any
test level
(D) Is correct. The testing quadrants group test levels, test types, activities, test techniques and work
products in Agile software development. In this model, tests can be business facing or technology
facing. Tests can support the team (i.e., guide the development) or critique the product (i.e., measure
its behavior against expectations). The combination of these two viewpoints determines the four
quadrants
Which of the following is a good testing practice that applies to all software development lifecycles?
(D) Testers should review work products immediately after they are published
Correct answer
(B) Testers should review work products as soon as drafts are available
(A) Testers should review work products as part of the next development phase
(C) Testers should review work products before test analysis and design begins
Correct answer
Correct selection
(E) All test analysts are ISTQB certified at the Foundation Level
Correct selection
(D) Test cases achieved at least 80% statement coverage
Correct answer
(B) Traceability between user requirements and test execution results provides a means of
measuring project progress against business goals
(A) Traceability between the mitigated risks and passing test cases provides a means of
determining the level of residual risk
(C) Traceability between testers and failing test cases provides a means of determining the
skill
level of the testers
(D) Traceability between the identified risks and written test conditions provides a means
of determining which risks are worth testing
Which of the following is NOT anticipated by the tester while applying error guessing?
(B) The developer wrote “FA = A*(1+IR^N)” instead of “FA = A*(1+IR)^N” in the source code
Correct answer
(C) The developer missed the seminar on new compound interest rate legislation
(D) The accuracy of the interest calculated by the system is not precise enough
(A) The developer misunderstood the formula in the user story for calculating the interest
Correct answer
How is the whole team approach present in the interactions between testers and business representatives?
Correct answer
(C) Business representatives are not part of the whole team approach
(C) Testing tools and associated testware may not be sufficiently relied upon
Correct answer
Correct answer
Correct answer
Your test suite achieved 100% statement coverage. What is the consequence of this fact?
Correct answer
(A) Each instruction in the code that contains a defect has been executed at least once
(B) Any test suite containing more test cases than your test suite will also achieve 100%
statement coverage
(C) Each path in the code has been executed at least once
(D) Every combination of input values has been tested at least once
Correct answer
Correct answer
Correct answer
Which of the arguments below would you use to convince your manager to organize retrospectives at the
end of each release cycle?
(B) Organizing retrospectives will save the organization money because end user
representatives do not provide immediate feedback about the product
(D) Retrospectives embrace five values including courage and respect, which are crucial to
maintain continuous improvement in the organization
Correct answer
(C) Process weaknesses identified during the retrospective can be analyzed and serve as a
to do list for the organization’s continuous process improvement program
(A) Retrospectives are very popular these days and clients would appreciate it if we added
them to our processes
Correct answer
Which of the following statements about the different testing roles is MOST likely to be CORRECT?
Correct answer
(C) In Agile software development, test management activities that span multiple teams are
handled by a test manager outside the team, while some test management tasks are
handled by the team itself
(B) The testing role is primarily responsible for test monitoring and control, while the test
management role is primarily responsible for test planning and test completion
(D) The test management role is primarily responsible for test analysis and test design,
while the testing role is primarily responsible for test implementation and execution
(A) In Agile software development, the test management role is the primary responsibility
of the
team, while the testing role is primarily the responsibility of a single individual from
outside the team
Which of the following is MOST likely to describe a task performed by someone in a test management role?
Correct answer
The following decision table contains the rules for determining the risk of atherosclerosis.
You designed the test cases with the following test input data:
TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg
TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg
TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg
TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg
TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg
What is the decision table coverage achieved by these test cases?
(D) 100%
Correct answer
(B) 60%
(C) 80%
(A) 40%
You work in a team that develops a mobile application for food ordering. In the current iteration the team
decided to implement the payment functionality.
Which of the following activities is a part of test analysis?
(A) Estimating that testing the integration with the payment service will take 8 person-days
Correct answer
(B) Deciding that the team should test if it is possible to properly share payment between
many users
(C) Using boundary value analysis (BVA) to derive the test data for the test cases that
check the correct payment processing for the minimum allowed amount to be paid
(D) Analyzing the discrepancy between the actual result and expected result after
executing a test case that checks the process of payment with a credit card, and reporting
a defect
Your team follows the process that uses the DevOps delivery pipeline. The first three steps of this process
are:
(1) Code development
(2) Submit code into a version control system and merge it into the “test” branch
(3) Perform component testing for the submitted code
Which of the following is BEST suited to be the entry criterion for step (2) of this pipeline?
(D) Statement coverage is at least 80%
Correct answer
(A) Static analysis returns no high severity warnings for the submitted code
(B) System version control reports no conflicts when merging code into the “test” branch
Your team uses planning poker to estimate the test effort for a newly required feature. There is a rule in your
team that if there is no time to reach full agreement and the variation in the results is small, applying rules
like “accept the number with the most votes” can be applied.
After two rounds, the consensus was not reached, so the third round was initiated. You can see the test
estimation results in the table below
Which of the following is the BEST example of the next step?
Correct answer
(B) Accept 13 as the final test estimate as this has most of the votes
(D) Remove the new feature from the current release because consensus has not been
reached
(A) The product owner has to step in and make a final decision
Which TWO of the following statements provide the BEST rationale for using exploratory testing?
(D) Testers are the members of an agile team and have good programming skills
(B) The existing test strategy requires that testers use formal, black-box test techniques
Correct selection
(E) Testers are experienced in the business domain and have good analytical skills
(C) The specification is written in a formal language that can be processed by a tool
Correct selection
(A) Testers have not been allocated enough time for test design and test execution
Which of the following statements about quality assurance (QA) and/or quality control (QC) is correct?
Correct answer
Which of the following BEST describes the way acceptance criteria can be documented?
Correct answer
(B) Using the given/when/then format to describe an example test condition related to a
given user story
(D) Documenting risks related to a given user story in a test plan to facilitate the risk-based
testing of a given user story
(C) Using verbal communication to reduce the risk of misunderstanding the acceptance
criteria by others
(A) Performing retrospectives to determine the actual needs of the stakeholders regarding
a given user story
Which of the following is MOST likely to help the developer reproduce the failure quickly?
Correct answer
(A) Adding information about which users and which books the issue affects to the
“Description” section
(D) Repeating the same test case for different environments and writing defect reports for
each
of them separately
(C) Adding memory dumps and database snapshots taken after each step described in the
“Steps to Reproduce” section to the “Attachments” section.
(D) To explain why system integration testing will be excluded from testing, although the
test strategy requires this test level
Correct answer
(A) To define test data and expected results for component tests and component
integration
tests
(B) To define as exit criteria from the component test level that “100% statement coverage
and 100% branch coverage must be achieved”
(C) To describe what fields the test progress report shall contain and what should be the
form of this report
You are testing a sort function that gets a set of numbers as input and returns the same set of numbers
sorted in ascending order. The log from the test execution looks as follows.
Which of the following provides the BEST description of the failure that can be used in a defect report?
Correct answer
(B) The system seems to disregard duplicates while sorting. Reference: TC3, TC4, TC5.
(D) TC3, TC4 and TC5 have defects (duplicate input data) and should be corrected.
(A) The system fails to sort several sets of numbers. Reference: TC3, TC4, TC5.
(C) The system fails to sort negative numbers. Reference: TC4, TC5.
Giải thích tổng thể
FL-5.5.1
(A) Is not correct. While the sentence is true, it does not provide much value for the developer
(B) Is correct. From the test results it seems that the system ignores duplicates and sorts the list
disregarding the repetitions. This is probably the cause of failures in TC3, TC4, TC5. Such information
may help the developer to find the defect and fix it more efficiently
(C) Is not correct. The system does not fail in sorting negative numbers. The problem is rather in
disregarding duplicates
(D) Is not correct. The test cases TC3, TC4 and TC5 fail, but we aren’t aware that the test cases have
any defects
Which of the following is MOST likely to be a trigger that leads to maintenance testing of a currency
exchange system?
Correct answer
(B) The refund option of the currency exchange system was removed as it did not always
repay the correct amount to customers
(A) The developers reported that changing the currency exchange system was difficult and
the testers decided to check if this was true
(D) The currency exchange system was reconfigured to support both English and local
language currency transactions
(C) The agile team has started developing a user story that adds a new customer loyalty
feature to the currency exchange system
(A) If a program includes only unconditional branches, then 100% branch coverage can be
achieved without executing any test cases
(C) If 100% statement coverage is achieved, then 100% branch coverage is also achieved
(B) If the test cases exercise all unconditional branches in the code, then 100% branch
coverage is achieved
Correct answer
(D) If 100% branch coverage is achieved, then all decision outcomes in each decision
statement in the code are exercised
Your team uses the three-point estimation technique to estimate the test effort for a new high-risk feature.
The following estimates were made:
most optimistic estimation: 2 person-hours
most likely estimation: 11 person-hours
most pessimistic estimation: 14 person-hours
What is the final estimate?
Correct answer
(D) 10 person-hours
(B) 14 person-hours
(A) 9 person-hours
(C) 11 person-hours
Which tool can be used by an agile team to show the amount of work that has been completed and the
amount of total work remaining for a given iteration?
Correct answer
Correct answer