Debugging & Error Analysis MCQs

Topic-wise practice questions for Problem Solving & Analytical Skills. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q21easy
What is the difference between "Black-Box Debugging" and "White-Box Debugging"?
Q22medium
An e-commerce site has a bug where 1% of users are charged twice. The bug is high severity but low frequency. What is the correct priority for the engineering team?
Q23medium
You have a bug in a file with 10,000 lines of code. You decide to comment out half the code to see if the bug persists, then continue halving the remaining code until you find the exact line. This strategy is known as:
Q24hard
(Code Output / Logic) Trace the following pseudocode involving Exception Handling:

try:
    x = 10 / 0
    print("A")
catch:
    print("B")
finally:
    print("C")
Q25medium
Which type of error is generally considered the most difficult to detect and fix, as the program continues to run without crashing?