CSCI 316: Quiz 12 - Exception and Event Handling
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
What is the primary purpose of exception handling in a programming language? *
1 point
An exception is best described as: *
1 point
What does it mean when an exception is thrown? *
1 point
What is exception propagation? *
1 point
In most languages, if an exception is not handled locally, it: *
1 point
Which construct is typically used to enclose code that may raise an exception? *
1 point
In C++, which keyword is used to signal an exception? *
1 point
Which of the following is true about C++ exception handling? *
1 point
Stack unwinding refers to: *
1 point
Checked exceptions in Java are: *
1 point
Unchecked exceptions in Java are those that: *
1 point
Which Java block is always executed whether or not an exception occurs? *
1 point
What happens if a Java exception is thrown and no handler is found? *
1 point
Python exceptions are typically signaled using which statement? *
1 point
Which feature distinguishes Python’s exception handling from Java’s? *
1 point
Ruby exception handling most closely resembles that of: *
1 point
In Ruby, which keyword corresponds to Java’s catch? *
1 point
What is a major advantage of language-level exception handling over error codes? *
1 point
A major criticism of exception handling is that it can: *
1 point
Event handling is primarily associated with: *
1 point
An event is best described as: *
1 point
Event-driven programming typically relies on: *
1 point
In Java, event handling is commonly implemented using: *
1 point
Which Java package is central to GUI activity handling? *
1 point
In C#, event handling is based primarily on: *
1 point
A C# delegate is best described as: *
1 point
A key difference between exceptions and events is that events: *
1 point
Which of the following is NOT a common design issue for event handling? *
1 point
Compared to exceptions, events are more often used to: *
1 point
Both exception handling and event handling improve: *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report