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
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
15 questions
Python Exception Handling Quiz

Quiz
•
12th Grade
10 questions
Python Exception Handling

Quiz
•
10th - 12th Grade
13 questions
BTEC Level 3 - Unit 1 - Topic 5 (Validating Data)

Quiz
•
12th Grade
14 questions
PBO KELAS 12

Quiz
•
12th Grade
15 questions
Java Strings and Math Quiz

Quiz
•
12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
10 questions
Python Symbol Puzzle Quiz - part 1

Quiz
•
12th Grade
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University