18 Exceptions questions from the C# bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.a user-defined error class that derives from the base exception type to convey domain-specific failure information
B.a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
C.writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
D.a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
Answer + AI explanation with Pro
2. Which term means: "a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources"?
Junior
A.Custom exception type
B.Finally block
C.Rethrow preserving stack
D.Stack-trace-erasing rethrow
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Finally block — a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
B.Finally block — a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
C.Finally block — a user-defined error class that derives from the base exception type to convey domain-specific failure information
D.Finally block — a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
Answer + AI explanation with Pro
4. What is Rethrow preserving stack?
Senior
A.a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
B.a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
C.using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
D.a user-defined error class that derives from the base exception type to convey domain-specific failure information
Answer + AI explanation with Pro
5. Which term means: "using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact"?
Senior
A.Custom exception type
B.Exception filter
C.Inner exception
D.Rethrow preserving stack
Answer + AI explanation with Pro
6. Which statement is correct?
Senior
A.Rethrow preserving stack — a user-defined error class that derives from the base exception type to convey domain-specific failure information
B.Rethrow preserving stack — a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
C.Rethrow preserving stack — using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
D.Rethrow preserving stack — a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
Answer + AI explanation with Pro
7. What is Stack-trace-erasing rethrow?
Senior
A.writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
B.a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
C.a user-defined error class that derives from the base exception type to convey domain-specific failure information
D.using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
Answer + AI explanation with Pro
8. Which term means: "writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin"?
Senior
A.Rethrow preserving stack
B.Exception filter
C.Stack-trace-erasing rethrow
D.Custom exception type
Answer + AI explanation with Pro
9. Which statement is correct?
Senior
A.Stack-trace-erasing rethrow — a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
B.Stack-trace-erasing rethrow — a user-defined error class that derives from the base exception type to convey domain-specific failure information
C.Stack-trace-erasing rethrow — writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
D.Stack-trace-erasing rethrow — a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
Answer + AI explanation with Pro
10. What is Custom exception type?
Mid
A.using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
B.a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
C.a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
D.a user-defined error class that derives from the base exception type to convey domain-specific failure information
Answer + AI explanation with Pro
11. Which term means: "a user-defined error class that derives from the base exception type to convey domain-specific failure information"?
Mid
A.Rethrow preserving stack
B.Custom exception type
C.Inner exception
D.Finally block
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Custom exception type — a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
B.Custom exception type — a user-defined error class that derives from the base exception type to convey domain-specific failure information
C.Custom exception type — using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
D.Custom exception type — writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
Answer + AI explanation with Pro
13. What is Exception filter?
Mid
A.writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
B.a user-defined error class that derives from the base exception type to convey domain-specific failure information
C.using a bare throw inside a catch to propagate the current error while keeping its original call-stack information intact
D.a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
Answer + AI explanation with Pro
14. Which term means: "a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise"?
Mid
A.Stack-trace-erasing rethrow
B.Inner exception
C.Exception filter
D.Finally block
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.Exception filter — a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
B.Exception filter — a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
C.Exception filter — a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
D.Exception filter — a user-defined error class that derives from the base exception type to convey domain-specific failure information
Answer + AI explanation with Pro
16. What is Inner exception?
Mid
A.a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
B.a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
C.a user-defined error class that derives from the base exception type to convey domain-specific failure information
D.a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources
Answer + AI explanation with Pro
17. Which term means: "a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context"?
Mid
A.Rethrow preserving stack
B.Stack-trace-erasing rethrow
C.Inner exception
D.Exception filter
Answer + AI explanation with Pro
18. Which statement is correct?
Mid
A.Inner exception — a user-defined error class that derives from the base exception type to convey domain-specific failure information
B.Inner exception — a when-clause appended to a catch that evaluates a boolean condition and only enters the handler if it is true, without unwinding the stack otherwise
C.Inner exception — writing throw followed by the caught exception variable, which resets the captured stack trace to the rethrow point and loses the original origin
D.Inner exception — a reference carried by one error to the underlying error that caused it, preserving a chain of root-cause context
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Exceptions question come with Pro.