Error Handling

Quiz
•
Computers
•
12th Grade
•
Easy
Jeremiah Encluna
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
It involves anticipating and managing errors or exceptions that may occur during program execution.
File Handling
Error Handling
try:
except:
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Occurs when a variable or function name is not found.
TypeError
NameError
FileNotFoundError
IndexError
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Arises when an operation is performed on an inappropriate data type.
TypeError
NameError
FileNotFoundError
IndexError
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Raised when attempting to open a file that does not exist.
FileNotFoundError
TypeError
ZeroDivisionError
IndexError
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Occurs when accessing an invalid index in a sequence.
TypeError
NameError
FileNotFoundError
IndexError
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Happens when dividing a number by zero.
ZeroDivisionError
IndexError
NameError
TypeError
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What are the two keywords used in Error Handling?
try: except:
try: else:
If: else:
try: finally:
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
12 questions
Topic 1 C++ Programming

Quiz
•
12th Grade
10 questions
C# Programming Quiz

Quiz
•
12th Grade
12 questions
HTML/CSS-Adding JS

Quiz
•
12th Grade
15 questions
Unit 8 CS Python Test

Quiz
•
12th Grade
15 questions
Python Inbuilt functions

Quiz
•
12th Grade
10 questions
Microsoft Word Dasar

Quiz
•
9th Grade - University
15 questions
Word/Word Online for Beginners

Quiz
•
3rd Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade