Chapter 1 Fundamentals of Software Testing Flashcards
Which of the following statement 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.) To find as many failures as possible so that defects can be identified and corrected.
Which of the following general testing principles are true? (Chapter 1.3)
I. Testing shows the presence of defects but not the absence of defects
II. Testing of combinations of inputs and outputs will find all defects
III. Testing should start after the completion of key development tasks
IV. Testing of safety-critical software is similar to testing web applications
A. I is true; II, III, and IV are false
B. II is true; I, III and IV are false
C. I and II are true; III and IV are false
D. II and III are true; I and IV are false
A. I is true; II, III, and IV are false
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) Dynamic testing shows failures caused by defects; debugging finds, analyzes, and removes the causes of failures in the software.
“How much testing is enough?” (Chapter 1.1.5)
A. This question is impossible to answer
B. This question is easy to answer
C. The answer depends on the risk for your industry, contract and special requirements
D. This answer depends on the maturity of your developers
C. The answer depends on the risk for your industry, contract and special requirements
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) Defects cluster together
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) It contributes to the achievement of quality in a variety of ways.
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) Evaluating the test basis for testability
Match the following test work products (1-4) with the right description (A-D)
- Test suite.
- Test case.
- Test script.
- 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.
Which of the following is not phase of the Fundamental Test Process?
A. Test Planning
B. Test implementation and execution
C. Test Analysis
D. Test monitoring and control
B. Test implementation and execution
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
b) Testing shows the presence of defects
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) Preventing defects
Pick the best definition of 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) The degree to which a component, system or process meets specified requirements and/or
user/customer needs and expectations.
- A company recently purchased a commercial off-the-shelf application to automate their bill-paying process. They now plan to run an acceptance test against the package prior to putting it into production. Which of the following is their most likely reason for testing?
A. To build confidence in the application.
B. To detect bugs in the application.
C. To gather evidence for a lawsuit.
D. To train the users.
A. To build confidence in the application.
A deviation from the specified or expected behavior that is visible to end-users is called:
A. an error
B. a fault
C. a failure
D. a defect
C. a failure
Which of the following is not a part of the Test Implementation Phase?
A. Designing and prioritizing test cases and sets of test cases
B. Building the test environment (including, potentially, test harnesses, service virtualization, simulators, and other infrastructure items) and verifying that everything needed has been set up correctly
C. Preparing test data and ensuring it is properly loaded in the test environment
D. Creating test suites from the test procedures and (if any) automated test scripts
A. Designing and prioritizing test cases and sets of test cases
Which of the following is not a part of the Test Implementation Work Products?
a) Test suites
b) Defined and prioritized test conditions
c) Test suites
d) Test procedures and the sequencing of those test procedures
b) Defined and prioritized test conditions
Which of the following can be root cause of a bug in a software product?
(I) The project had incomplete procedures for configuration management.
(II) The time schedule to develop a certain component was cut.
(III) The specification was unclear
(IV) Use of the code standard was not followed up
(V) The testers were not certified
A. (I) and (II) are correct
B. (I) through (IV) are correct
C. (III) through (V) are correct
D. (I), (II) and (IV) are correct
B. (I) through (IV) are correct
A test team consistently finds between 90% and 95% of the defects present in the system under test. While the test manager understands that this is a good defect-detection percentage for her test team and industry, senior management
and executives remain disappointed in the test group, saying that the test team misses too many bugs. Given that the users are generally happy with the system
and that the failures which have occurred have generally been low impact, which of the following testing principles is most likely to help the test manager explain to these managers and executives why some defects are likely to be missed?
A. Exhaustive testing is impossible
B. Defect clustering
C. Pesticide paradox
D. Absence-of-errors fallacy
A. Exhaustive testing is impossible
Which of the statements below is the best assessment of how the test principles apply across the test life cycle?
A. Test principles only affect the preparation for testing.
B. Test principles only affect test execution activities.
C. Test principles affect the early test activities such as review.
D. Test principles affect activities throughout the test life cycle
D. Test principles affect activities throughout the test life cycle
Ensuring that test design starts during the requirements definition phase is important to enable which of the following test objectives?
A. Preventing defects in the system.
B. Finding defects through dynamic testing.
C. Gaining confidence in the system.
D. Finishing the project on time.
A. Preventing defects in the system.
Who would USUALLY perform debugging activities?
A. Developers.
B. Analysts.
C. Testers.
D. Incident Managers.
A. Developers.
Which is not the testing objectives
A. To prevent defects
B. To build confidence in the level of quality of the test object
C. To find failures and defects.
D. Debugging defects
D. Debugging defects
Which is not a testing principle
A. Early testing
B. Defect clustering
C. Pesticide paradox
D. Context Independent
D. Context Independent
Which of the following is the standard for the Software product quality
A. ISO 9126
B. ISO 829
C. ISO 1012
D. ISO 1028
A. ISO 9126