Multiple Choice Questions & Answers on Debugging Techniques

Multiple Choice Questions & Answers on Debugging Techniques

1. Effective testing will reduce _______ cost.
a) maintenance
b) design
c) coding
d) documentation
Answer: maintenance

2. Which of the following is the definition for debugging?
a) Finding bugs
b) Fixing bugs
c) Both Finding & Fixing bugs
d) None of the mentioned
Answer: Both Finding & Fixing bugs

3. Which is a black box testing technique appropriate to all levels of testing?
a) Acceptance testing
b) Regression testing
c) Equivalence partitioning
d) Quality assurance
Answer: Equivalence partitioning

4. Which of the following is not a part of bug report?
a) Test case
b) Output
c) Software Version
d) LOC
Answer: LOC

5. Name an evaluation technique to assess the quality of test cases.
a) Mutation analysis
b) Validation
c) Verification
d) Performance analysis
Answer: Mutation analysis

6. Which of the following is not a part of Execution Flow during debugging?
a) Step Over
b) Step Into
c) Step Up
d) Step Out
Answer: Step Up

7. Which of the following is a common pointwer problem?
a) Data sharing errors
b) Accessing data elements of the wrong type
c) Attempting to use memory areas after freeing them
d) All of the mentioned
Answer: All of the mentioned

8. Software mistakes during coding are known as
a) errors
b) failures
c) bugs
d) defects
Answer: bugs

9. Cyclomatic Complexity method comes under which testing method.
a) Yellow box
b) White box
c) Gray box
d) Black box
Answer: White box

10... What is testing process’ first goal?
a) Bug prevention
b) Testing
c) Execution
d) Analyses
Answer: Bug prevention

11. Which of the following is the way of ensuring that the tests are actually testing code?
a) Control structure testing
b) Complex path testing
c) Code coverage
d) Quality assurance of software
Answer: Code coverage

12. Test should be conducted for every possible
a) data
b) case
c) variable
d) all of the mentioned
Answer: all of the mentioned

13. Mutation analysis is used to design new software tests and evaluate the quality of existing software tests.
a) True
b) False
Answer: True

14. Equivalence partitioning is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived.
a) True
b) False
Answer: True

15. A software bug is an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result.
a) True
b) False
Answer: True

Comments