Introduction to software testing: Week 3 Quiz Answer
What is a Test Plan? Quiz
1) The unit testing plan that is generated is always a formal document.
a) True b) False
ANS - b) False
2) Which of the following is the kind of test that determines whether or not you built the correct thing for the customer?
a) Unit Testing Plan
b) Unit Test
c) System Validation Test
d) Customer Acceptance Test
ANS - d) Customer Acceptance Test
3) System validation testing is when the system is tested for error prone constructs and low level
functionality assurances.
a) True b) False
ANS - b) False
4) Which of the following is NOT an important component of a test plan according to the Quality Assurance Institute?
a) Scope
b) Schedule
c) Reliability
d) Entry and Exit Conditions
e) Resources and Testing Environment
ANS - c) Reliability
5) Which of the following traces test cases back to requirements?
a) Domain Report
b) Traceability Report
c) Unit Testing Plan
d) Domain Expert
ANS - b) Traceability Report
Importance of a Good Test Plan Quiz
1) Which of the following is not true about a traceability (requirements) matrix.
a) It helps find untested requirements
b) It will list any missing requirements
c) It helps identify test cases that don't tie to requirements.
ANS - b) It will list any missing requirements
2) When considering concerns or risks of test planning, it's important to take preventative action when possible.
a) True b) False
ANS - a) True
3) It is normal to accept requirements with a 'to-be-determined' in them.
a) True b) False
ANS - b) False
4) Testing is the only way to locate bugs in a system.
a) True b) False
ANS - b) False
5) There is always pressure on ______ to prove a product is not ready for release (especially in the Waterfall Method).
a) Customer/User
b) Domain Expert
c) Testers
d) Managers
ANS - c) Testers
Stages of Software Testing Process
1) Unit testing is usually white box testing done by the developer on a small piece of code (a function or class)
a) True b) False
ANS - a) True
2) Which of these should NOT be included in unit testing?
a) Testing array bounds
b) Test loop boundaries for off-by-one errors
c) Error prone constructs
d) Module integration testing
ANS - d) Module integration testing
3) Design Verification Testing has two aspects: Integration testing and Functional testing.
a) True b) False
ANS - a) True
4) Testing modules to ensure they work together properly occurs at which stage of software testing process?
a) Unit Testing
b) Design Verification Testing
c) System Validation Testing
d) Functional Testing
ANS - b) Design Verification Testing
5) System validation testing occurs once the full system is complete.
a) True b) False
ANS - a) True
6) System validation testing will test the system for quality of behavior delivery on many aspects. Which of the following is not one of those aspects?
a) Usability b) Portability c) Scalability d) Performance e) Loop Invariants f) Security
ANS - e) Loop Invariants
Test (Status) Reports Quiz
1) Which of the following is NOT part of the test (status) report.
a) Open defects
b) Test case code
c) What was tested
d) What was not tested
ANS - b) Test case code
2) The only test report is the final report and is sent only when all testing is complete.
a) True b) False
ANS - b) False
3) Test (status) reports are important because:
a) Allows management to better manage risk.
b) Allows marketing to provide to the customers updates and manage customer expectations.
c) Assists in process improvement through postmortem evaluations.
d) All of the above
ANS - d) All of the above
4) Testing is _______ but not _________ from development.
a) Independent; Isolated
b) Isolated; Independent
ANS - a) Independent; Isolated
Risk Based Test Planning Quiz
1) The act of reducing risk is known as:
a) Risk mitigation
b) Risk analysis
c) Risk testing
d) Risk equation
ANS - a) Risk mitigation
2) The risk equation is:
a) risk = impact / likelihood
b) risk = likelihood / impact
c) risk = impact * likelihood
d) risk = likelihood + impact
ANS - c) risk = impact * likelihood
3) The amount of loss management is willing to accept is known as:
a) Risk mitigation
b) Risk appetite
c) Risk impact
d) Risk equation
ANS - b) Risk appetite
4) In terms of risk impact, depth of impact refers to:
a) Number of people or systems affected
b) Cost of the damage
c) Severity of damage
d) Size of module
ANS - Severity of damage
5) When considering risk, it is important to consider categories of impact. Which of the following is NOT given as an example in the lecture slides.
a) Reputation
b) Customer/User base
c) Motivation
d) Financial
e) Lives
ANS - c) Motivation
6) Asking the question: What can you do to control (reduce) the risk? is an example of:
a) Risk analysis
b) Risk testing
c) Risk Impact
d) Risk mitigation
e) Risk Appetite
ANS - d) Risk mitigation
7) When risk avoidance fails, the best thing to do is to test features with the highest impact and the features that are most likely to fail.
a) True b) False
ANS - a) True
Software Defect Reports Quiz
1) Only about half of testing efforts are spent on actual testing.
a) True b) False
ANS - a) True
2) The stages in software defect life cycles include all of the following except for one. Choose the incorrect stage in the list below:
a) Analyze b) Report c) Track status d) Retest bug e) Close bug f) Ignore the bug
ANS - f) Ignore the bug
Software Defect Reports: Analysis
1) Part of analysis is figuring out where the fault of the defect lies. The fault could lie with the:
a) Test b) Tester c) Product d) All of the above
ANS - d) All of the above
2) Reproducibility and repeatability are the same thing when it comes to defects.
a) True b) False
ANS - b) False
3) Not all defects are created equal.
a) True b) False
ANS - a) True
Software Defect Reports: Reporting
1) The report phase consists of four main steps. Which of the following is not one of those steps?
a) Let developers decide whether to report defect.
b) Ensure defect is not a duplicate
c) Make sure defect gets fixed
d) Enter defect into the system
e) Talk with developers
ANS - a) Let developers decide whether to report defect.
2) What are the characteristics of an effective defect report?
a) Numbered or ID'd
b) Simple
c) Written
d) Complete
e) Understandable
f) All of the above
ANS - f) All of the above
3) You should always include the minimum number of steps to reproduce the defect in a defect report.
a) True b) False
ANS - a) True
Software Defect Reports: Report Content
1) The software defect report content consists of six main components. Which of the following is not one of those components?
a) Identification Information
b) Description of the problem
c) Status Indicator
d) Comments
e) Misc Information
f) Supporting Information
g) Associated defect reports
ANS - g) Associated defect reports
2) Which of the following components would contain a defect identification number?
a) Identification Information
b) Description of the problem
c) Status Indicator
d) Comments
e) Misc Information
f) Supporting Information
ANS - a) Identification Information
3) Which of the following components would contain an overview of the problem along with what you did and the results of that action?
a) Identification Information
b) Description of the problem
c) Status Indicator
d) Comments
e) Misc Information
f) Supporting Information
ANS - b) Description of the problem
4) Assume that you are writing a defect report and this particular defect is known to have an impact of medium severity. Which component would contain this information?
a) Identification Information
b) Description of the problem
c) Status Indicator
d) Comments
e) Misc Information
f) Supporting Information
ANS - c) Status Indicator
5) Severity and priority are essentially the same in terms of status indication.
a) True b) False
ANS - b) False
6) The best defect reports have new and ingenious introductions of terminology and abbreviations.
a) True b) False
ANS - b) False
7) Assume that there is a defect that is found to be a problem, but you can essentially ignore it. Which severity level should it have?
a) High b) Medium c) Low d) Trivial
ANS - c) Low
8) Lets say you are working on an unmanned aerial vehicle and a defect is found. This defect happens only occasionally, but if it does the vehicle would come crashing out of the sky onto an unsuspecting population killing many. What severity level should this defect be given?
a) High b) Medium c) Low d) Trivial
ANS - a) High
9) Assume that a particular low-severity defect is such that by fixing it, it will cause many more problems to come up. What final state should this defect be given?
a) Not repeatable
b) Do not fix
c) Duplicate
d) Not a problem
e) Deferred
ANS - b) Do not fix
10) If there is a relatively easy workaround to a problem, STATE IT in the defect report.
a) True b) False
ANS - a) True
Software Defect Reports: Track, Retest, and Close
1) When it comes to tracking defects, the most important aspect is to have a process and follow it.
a) True b) False
ANS - a) True
2) Which of the following is not a conclusion reached by the retesting phase?
a) Problem fixed
b) Problem is insurmountable
c) Problem remains unchanged
d) Problem is replaced with a new problem
ANS - b) Problem is insurmountable
3) Testing and verification notes belong to which of the following categories?
a) Track b) Retest c) Close
ANS - c) Close
Comments
Post a Comment