Error Handling
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Jeremiah Encluna
Used 13+ times
FREE Resource
Enhance your content in a minute
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:
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
SOAL KOMPUTER KELAS 8 SEMESTER GANJIL
Quiz
•
7th - 12th Grade
10 questions
Review Quiz #2- Productivity Tools
Quiz
•
11th - 12th Grade
15 questions
Twitter 101
Quiz
•
KG - 12th Grade
15 questions
Visual C# Quiz - Chapter 5: Loops, Files, and Random Numbers
Quiz
•
12th Grade
8 questions
Gathering Evidence
Quiz
•
9th - 12th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
12 questions
File dan Folder
Quiz
•
9th - 12th Grade
10 questions
Fundamentals of Computing - Unit 5 Quiz 1 Review
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
