Answers Testing Software
Answers Testing Software
1. Relate column A to column B and enter the results in the column that is empty , some have the
same meaning:
A B
A. Bug 1. A test is deemed to fail if its actual result does not match
3 its expected result.
2. Ensuring that test design starts during the requirements definition phase is important to enable
which of the following test objectives?
A B
B. Requirement 2. The process consisting of all life cycle activities, both static and
dynamic concerned with planning, preparation and evaluation of
3
software products and related work products to determine that they
satisfy specified requirements.
C. Review 3. A condition or capability needed by a user to solve a problem or
achieve an objective that must be met or possessed by a system or
5
system component to satisfy a contract, standard, specification, or
other formally imposed document.
D. Test Basis 4. A set of input values, execution preconditions, expected results and
execution post-conditions, developed for a particular objective or test
NA
condition, such as to exercise a particular program path or to verify
compliance with a specific requirement.
E. Testing 5. An evaluation of a product or project status to ascertain
discrepancies from planned results and to recommend improvements.
2
Examples include management review, informal review, technical
review, inspection, and walkthrough.
F. Test Objective 6. The process of finding, analyzing and removing the causes of
1 failures in software.
G. Test Case
4
a. Testing can show that defects are present, but cannot prove that there are no defects. Testing
reduces the probability of undiscovered defects remaining in the software but, even if no defects
are found, it is not a proof of correctness.
b. Testing everything (all combinations of inputs and preconditions) is not feasible except for trivial
cases. Instead of exhaustive testing, risk analysis and priorities should be used to focus testing
efforts.
c. To find defects early, testing activities shall be started as early as possible in the software or system
development life cycle, and shall be focused on defined objectives.
d. Finding and fixing defects does not help if the system built is unusable and does not fulfill the
users’ needs and expectations.
7. Which of the following is the correct affirmation about, Confirmation Testing and Re-Testing:
a. All documents from which the requirements of a component or system can be inferred.
b. An item or event of a component of a system that could be verified by one or more test
cases.
c. The degree, expressed as a percentage to which a specified coverage items has been exercise
by a test suite.
d. Data that exits before a test is executed, and that affects or is affected by the component or
system under test.
10. Which of the following is most important to promote and maintain good relationships between
testers and developers?
11. Which of the statements below is the best assessment of how the test principles apply across the
test life cycle?
12. Which of the followings is the correct affirmation about Test Plan:
a. A document describing the scope, approach, resources and schedule of intended test activities. It
identifies amongst others test items, the features to be tested, the testing tasks, who will do each
task, degree of tester independence, the test environment, the test design techniques and entry
and exit criteria to be used, and the rationale for their choice, and any risks requiring contingency
planning. It is a record of the test planning process.
b. A document specifying a sequence of actions for the execution of a test. Also know as test scripts or
manual scripts.
c. A several test cases for a component or system under test, where the past condition of one is often
as the precondition for next one.
d. A document summarizing testing activities and results. It also contains an evaluation of the
corresponding test items against exit criteria.
16. Error Guessing is a Test design technique where the experience of tester is used to anticipate
what defects might be present in the component or system under test as a result of error made
and to design test specifically to expose them: This Affirmation is TRUE or FALSE?
TRUE
17. Testware is an artifact produced during the test process required to plan, design and execute test
as a documentation, scripts, inputs, expected results, set-up and clear-up procedures, files,
databases, environment and any additional software or utilities used in testing: This Affirmation
is TRUE or FALSE?
TRUE
18. The process of designing test cases consists of the following activities:
I. Elaborate and describe test cases in detail by using test design techniques
II. Specify the order of test case execution
III. Analyze requirements and specifications to determine test conditions.
IV. Specify expected results
According to the process of identifying and designing tests, what is the correct order of these
activities?
a. III, I, IV, II
b. III, IV, I, II
c. III, II, I, IV
d. II, III, I, IV
a. The main objective maybe to assess system characteristics such as reliability or availability
b. Finding Defects, gaining confidence about level of quality
c. Often includes testing that no new defects share been introduced during development of the
changes
d. Confirm that the system works as expected, to gain confidence that it has met the requirements
20. Which of the following defines the sequence in which tests should be executed?
a. Test Plan
b. Test Procedure Specification
c. Test Case Specification
d. Test Design Specifications
1. What are good practices for testing within the development life cycle?
2. Which option best describes objectives for test levels with a life cycle model?
a. Objectives should be generic for any test level.
b. Objectives are the same for each test level.
c. The objectives of a test level don't need to be defined in advance.
d. Each level has objectives specific to that level.
a. Feasibility
b. Usability
c. Maintenance
d. Regression
6. Which of the following is a true statement regarding the process of fixing emergency changes?
a. There is no time to test the change before it goes live, so only the best developers should do this
work and should not involve testers as they slow down the process.
b. Just run the retest of the defect actually fixed.
c. Always run a full regression test of the whole system in case other parts of the system have been
adversely affected.
d. Retest the changed area and then use risk assessment to decide on a reasonable subset of the
whole regression test to run in case other parts of the system have been adversely affected.
7. A regression test:
a. Impact analysis assesses the effect on the system of a defect found in regression testing.
b. Impact analysis assesses the effect of a new person joining the regression test team.
c. Impact analysis assesses whether or not a defect found in regression testing has been fixed
correctly.
d. Impact analysis assesses the effect of a change to the system to determine how much
regression testing to do.
11. Relate column A to column B and enter the result in the column that is empty , some have the
same meaning:
A B
12. A common type of V-Model use four test levels, which are the development levels:
13. Which of the following assessment is NOT true about the “ Characteristics of Good Testing”:
a. Is the process of establishing requirements, designing, building a testing system, and done as a
series of shorter development cycles.
b. For every development activity, there is “Good Testing”.
c. The Analysis and design of test for a give test level should be corresponding development activity.
d. B and C.
14. Relate column A to column B and enter the result in the column that is empty , some have the
same meaning:
A B
a. Interaction between software components and is done after component testing and interaction
between different systems or between hardware and software and may be done after system
testing.
b. Search for defects and verifies the functioning of software modules, programs, objects, classes,
that are separately testable. One approach is to prepare and automat test cases before coding
this common called “test-first approach or test driven-development”.
c. Should investigate functional and non-functional requirements of the system, and data quality
characteristics.
d. The goal is to establish confidence in the system, parts of the system or specific non-functional
characteristics of the system; finding defects is not the main focus.
a. Interaction between software components and is done after component testing and interaction
between different systems or between hardware and software and may be done after system
testing.
b. Search for defects and verifies the functioning of software modules, programs, objects, classes, that
are separately testable.
c. Should investigate functional and non-functional requirements of the system, and data quality
characteristics.
d. The goal is to establish confidence in the system, parts of the system or specific non-functional
characteristics of the system; finding defects is not the main focus.
a. Interaction between software components and is done after component testing and interaction
between different systems or between hardware and software and may be done after system
testing.
b. Search for defects and verifies the functioning of software modules, programs, objects, classes, that
are separately testable.
c. Should investigate functional and non-functional requirements of the system, and data quality
characteristics.
d. The goal is to establish confidence in the system, parts of the system or specific non-functional
characteristics of the system; finding defects is not the main focus.
a. Interaction between software components and is done after component testing and interaction
between different systems or between hardware and software and may be done after system
testing.
b. Search for defects and verifies the functioning of software modules, programs, objects, classes, that
are separately testable.
c. Should investigate functional and non-functional requirements of the system, and data quality
characteristics.
d. The goal is to establish confidence in the system, parts of the system or specific non-functional
characteristics of the system; finding defects is not the main focus.
19. Relate column A to column B and enter the result in the column that is empty , some have the
same meaning:
A B
A B
a. Software code
b. Requirements specification
c. Test designs
d. All of the above
a. Walkthrough
b. Inspection
c. Informal review
d. Management approval
a. Inspections are led by a trained moderator, whereas technical reviews are not necessarily.
b. Technical reviews are led by a trained leader, inspections are not.
c. In a walkthrough, the author does not attend.
d. Participants for a walkthrough always need to be thoroughly trained.
a. An inspection is led by the authors, whilst a walk through is led by a trained moderator.
b. An inspection has a trained leader, whilst a walk through has no leader.
c. Authors are not present during inspections, whilst they are during walkthroughs.
d. A walkthrough is led by the author, whilst an inspection is led by a trained moderator.
6. Which of the following characteristics and types of review processes belong together?
1. Led by the author
2. Undocumented
3. No management participation
4. Led by a trained moderator or leader
5. Uses entry and exit criteria
s. Inspection
t. Technical review
u. Informal review
v. Walkthrough
a. s = 4, t = 3, u = 2 and 5, v = 1
b. s = 4 and 5, t = 3, u = 2, v = 1
c. s = 1 and 5, t = 3, u = 2, v = 4
d. s = 5, t = 4, u = 3, v = 1 and 2
a. With static analysis, defects can be found that are difficult to find with dynamic testing.
b. Compiling is not a form of static analysis.
c. When properly performed, static analysis makes functional testing redundant.
d. Static analysis finds all faults.
8. Which of the following statements about early test design are true and which are false?
1. Defects found during early test design are more expensive to fix.
2. Early test design can find defects.
3. Early test design can cause changes to the requirements.
4. Early test design takes more effort.
9. Static code analysis typically identifies all but one of the following problems. Which is it?
a. Unreachable code
b. Undeclared variables
c. Faults in the requirements
d. Too few comments
10. Testing that involves the execution of the software of a component or system:
a. Static Testing
b. Static Analysis
c. Entry Criteria
d. Dynamic Testing
a. Static Testing
b. Static Analysis
c. Entry Criteria
d. Dynamic Testing
i. Is not a way for testing software work products and cannon being performed well before the
dynamic Test Execution.
ii. Defects detected during reviews early in the life cycle are often expensive to remove that those
detected by running test on the execution code.
iii. Reviews are a way of testing software work products (including code) and can be performed well
before dynamic test execution.
iv. Any software work product can be reviewed, including requirements, specifications, design
specifications, code, test plan, test specifications, test case, test scripts, user guides or web pages.
a. i, ii
b. ii, iv
c. iii, iv
d. i, iv
13. Which of the following statements complete the sentence: Benefits _____________ include
early defect detention and correction development productivity improvements, reduced
development time scales, reduce testing cost and time, lifetime cost reductions, fewer defects
and improved communication.
a. Of Formal Review
b. Of Inspections
c. Of Reviews
d. Of Entry Criteria
14. Which of the following statements complete the sentence: The set of generic conditions for
permitting a process to go forward with a defined task; e.g. test phase. The purpose of
_________________ is to prevent a task from starting which would entail more effort compared
to the effort needed to remove the failed.
a. Formal Review
b. Inspections
c. Reviews
d. Entry Criteria
15. Which of the following activities is NOT part of a “Formal Review”:
a. Planning
b. Checking Entry Criteria
c. Kick-Off
d. Inspection
16. Which of the following are most likely to enhance the formal review process?
I. Review software work products as soon as they are available and reasonably mature.
II. Ensure that reviewers have clear, predefined objectives.
III. Exclude customers, managers, and outside experts to minimize impact on problem solving.
IV. Make use of checklists during the review to drive the process and aid reviewers.
V. Conduct reviews just before coding and dynamic testing begins to find defects early and minimize
costs of extra reviews.
a. I, III and V
b. II, III and IV
c. II, IV and V
d. II and IV
a. Defects could cause a downstream effect (e.g. a fault in a design can result in an error in the
implementation).
b. Defects are not likely to cause downstream damage (e.g. non-compliance with the standards and
templates).
c. Defects will cause downstream damage; the scope and impact of the defect is beyond the
document under inspection.
d. None of the above.
19. Which of the following defects are commonly found by Static Tools:
a. ii, iii, iv
b. ii, iv, v
c. i, ii, iv
d. i, v
20. Relate column A to column B and enter the result in the column that is empty , some have the
same meaning:
A B
1. In which document described in IEEE 829 would you find instructions for the steps to be taken for
a test including set-up, logging, environment and measurement?
a. Test plan
b. Test design specification
c. Test case specification
d. Test procedure specification
2. With a highly experienced tester with a good business background, which approach to defining
test procedures would be effective and most efficient for a project under severe time pressure?
3. Put the test cases that implement the following test conditions into the best order for the test
execution schedule, for a test that is checking modifications of customers on a database.
a. 5,4, 2,1, 3, 7, 6
b. 4,2,5,1,6,7,3
c. 5,4,2,1,7,3,6
d. 5,1, 2, 3,4, 7, 6
6. Which of the following would be an example of decision-table testing for a financial application
applied at the system-test level?
a. X,YandZ
b. V, X, Y and Z
c. W,XandY
d. V, X and Z
8. Postal rates for 'light letters' are 25p up to l0g, 35p up to 50g plus an extra l0p for each additional
25g up to l00g. Which test inputs (in grams) would be selected using equivalence partitioning?
a. 8,42,82,102
b. 4,15, 65, 92,159
c. 10,50,75,100
d. 5, 20, 40, 60, 8
9. Which of the following could be used to assess the coverage achieved for specification based
(black-box) test techniques?
a. V, W, Y or Z
b. W, X or Y
c. V, X or Z
d. W, X, Y or Z
10. Which of the following structure based test design technique would be most likely to be applied
to?
a. 2, 3 and 4
b. 2 and 4
c. 3 and 4
d. 1, 2 and 3
a. P, Q and R
b. Q, S and T
c. P, Q and S
d. R, S and T
12. Which of the following statements about the relationship between statement coverage and
decision coverage is correct?
13. If you are flying with an economy ticket, there is a possibility that you may get upgraded to
business class, especially if you hold a gold card in the airline's frequent flier program. If you
don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and
you checking in late. This is shown in Figure. Note that each box (i.e. statement) has been
numbered. Three tests have been run:
a. 60%
b. 70%
c. 80%
d. 90%
14. Why are error guessing and exploratory testing good to do?
a. They can find defects missed by specification based and structure-based techniques.
b. They don't require any training to be as effective as formal techniques.
c. They can be used most effectively when there are good specifications.
d. They will ensure that all of the code or system is tested.
a. They depend on the tester's understanding of the way the system is structured rather than on a
documented record of what the system should do.
b. They depend on having older testers rather than younger testers.
c. They depend on a documented record of what the system should do rather than on an
individual's personal view.
d. They depend on an individual's personal view rather than on a documented record of what the
system should do.
16. When choosing which technique to use in a given situation, which factors should be taken into
account?
a. V, W, Y and Z
b. U, V, W and Y
c. U, X and Y
d. V, W and Y
17. Given the state diagram in Figure 2, which test case is the minimum series of valid transitions to
cover every state?
a. SS-S1-S2-S4-S1-S3-ES
b. SS-S1-S2-S3-S4-ES
c. SS-S1-S2-S4-S1-S3-S4-S1-S3-ES
d. SS-S1-S4-S2-S1-S3-ES
3. According to the ISTQB Glossary, what do we mean when we call someone a test manager?
a. The test plan describes one or more levels of testing, the test design specification identifies the
associated high-level test cases and a test procedure specification describes the actions for
executing a test.
b. The test plan is for managers, the test design specification is for programmers and the test
procedure specification is for testers who are automating tests.
c. The test plan is the least thorough, the test procedure specification is the most thorough and the
test design specification is midway between the two.
d. The test plan is finished in the first third of the project, the test design specification is finished in the
middle third of the project and the test procedure specification is finished in the last third of the
project.
5. Which of the following factors is an influence on the test effort involved in most projects?
6. The ISTQB Foundation Syllabus establishes a fundamental test process where test planning
occurs early in the project, while test execution occurs at the end. Which of the following
elements of the test plan, while specified during test planning, is assessed during test execution?
a. Test tasks
b. Environmental needs
c. Exit criteria
d. Test team training
7. Consider the following exit criteria which might be found in a test plan:
Which of the following statements is true about whether these exit criteria belong in an acceptance test
plan?
8. Consider the following exit criteria which might be found in a test plan:
VI. No known customer-critical defects.
VII. All interfaces between components tested.
VIII. 100% code coverage of all units.
IX. All specified requirements satisfied.
X. System functionality matches legacy system for all business rules.
Which of the following statements is true about whether these exit criteria belong in an acceptance test
plan?
10. Which of the following metrics would be most useful to monitor during test execution?
2. Which test activities are supported by test harness or unit test framework tools?
3. What are the potential benefits from using tools in general to support testing?
a. Greater quality of code, reduction in the number of testers needed, better objectives for testing.
b. Greater repeatability of tests, reduction in repetitive work, objective assessment.
c. Greater responsiveness of users, reduction of tests run, objectives not necessary.
d. Greater quality of code, reduction in paperwork, fewer objections to the tests.
5. Which of the following are advanced scripting techniques for test execution tools?
6. Which of the following would NOT be done as part of selecting a tool for an organization?
7. Which of the following is a goal for a proof-of-concept or pilot phase for tool evaluation?
a. Decide which tool to acquire.
b. Decide on the main objectives and requirements for this type of tool.
c. Evaluate the tool vendor including training, support and commercial aspects.
d. Decide on standard ways of using, managing, storing and maintaining the tool and the test assets.