
ICS2606: Computer Programming II - Exceptions and Error Handling

Flashcard
•
Computers
•
University
•
Hard
derg boon
Used 1+ times
FREE Resource
Student preview

48 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is an Exception in programming?
Back
An Exception is an object representation of an abnormal condition that arises in a code sequence either at compile time or at runtime.
2.
FLASHCARD QUESTION
Front
What does the Exception object handle?
Back
The Exception object handles unexpected situations like network failure, misspelled or missing filename, and printers that suddenly go offline.
3.
FLASHCARD QUESTION
Front
What is the Exception class a subclass of?
Back
The Exception class is a subclass of the Throwable class.
4.
FLASHCARD QUESTION
Front
What are checked exceptions?
Back
Checked exceptions are recognized by the compiler and consist of all classes that directly inherit from Exception, except for RuntimeException.
5.
FLASHCARD QUESTION
Front
Give examples of checked exceptions.
Back
Examples include IOException, SQLException, and ClassNotFoundException.
6.
FLASHCARD QUESTION
Front
What are unchecked exceptions?
Back
Unchecked exceptions are RuntimeExceptions that are not recognized by the compiler.
7.
FLASHCARD QUESTION
Front
What is a NullPointerException?
Back
A NullPointerException occurs when a program attempts to process a null valued object.
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
TSA Review 50 Questions

Flashcard
•
University
39 questions
Python Semester 2 flashcard -1

Flashcard
•
12th Grade
50 questions
CS2 Q50 Python Group 1

Flashcard
•
12th Grade - University
42 questions
ch. 5 law and ethics

Flashcard
•
Professional Development
40 questions
AP Computer Science A Final Review

Flashcard
•
10th Grade - University
44 questions
DBI202-Fa24

Flashcard
•
KG - University
40 questions
Java Quizzz

Flashcard
•
University
40 questions
HTML, CSS, Terminal & JavaScript

Flashcard
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade