18 real Exceptions questions from the C# bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is Finally block?
Junior
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
2. Which term means: "a clause guaranteed to execute after its associated protected block whether or not an error occurred, used to release resources"?
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
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
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"?
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
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
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
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
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"?
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
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
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
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.