Debugging MCQ Questions And Answers
Debugging MCQs : This section focuses on "Debugging" in Computer Fundamentals. These Multiple Choice Questions (MCQ) should be practiced to improve the Computer Fundamentals skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Debugging is the process of fixing a ______ in the software
A. warning
B. exception
C. bug
D. function
View Answer
Ans : C
Explanation: Debugging is the process of fixing a bug in the software
2. The process of debugging begins as soon as the code of the software is___________.
A. Started
B. Completed
C. Both A and B
D. None of the above
View Answer
Ans : B
Explanation: The process of debugging begins as soon as the code of the software is Completed.
3. Which of the following are Debugging Tools?
A. Radare2
B. WinDbg
C. Valgrind
D. All of the above
View Answer
Ans : D
Explanation: Here is a list of some of the widely used debuggers: Radare2, WinDbg and Valgrind
4. Print debugging also called?
A. Remote debugging
B. Post-mortem debugging
C. Tracing
D. Static analysis
View Answer
Ans : C
Explanation: Print debugging (also called tracing) : the developer watches live or recorded print statements and monitors flow.
5. The terms bug and debugging are popularly attributed to Admiral Grace Hopper in the?
A. 1940
B. 1960
C. 1980
D. 1995
View Answer
Ans : A
Explanation: The terms bug and debugging are popularly attributed to Admiral Grace Hopper in the 1940.
6. _________ is debugging of the program after it has already crashed.
A. Remote debugging
B. Print debugging
C. Wolf fence algorithm
D. Post-mortem debugging
View Answer
Ans : D
Explanation: Post-mortem debugging is debugging of the program after it has already crashed.
7. Delta Debugging is a technique of automating test case simplification
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Delta Debugging is a technique of automating test case simplification
8. A freeware GNU Debugger is __________
A. GNB
B. GDB
C. FDB
D. FNB
View Answer
Ans : B
Explanation: GDB is a free GNU debugger which runs on most of the Unix-like platforms. It works for multiple programming languages. GNU is free software
9. Which of the following is written for getting help in GDB?
A. he
B. help -h
C. h
D. help
View Answer
Ans : C
Explanation: In this h stands for help. h or help both commands can be used. Help lists all the commands.
10. Which is not involved in debugging?
A. Identifying
B. Isolating
C. Fixing
D. Test
View Answer
Ans : D
Explanation: Testing is a different process and is different from debugging. Debugging involves identifying, isolating and fixation of the problems or errors.
Discussion