output?
quiz - 7(exceptions and file handling)

Quiz
•
Other
•
12th Grade - University
•
Medium
sasika roledenez
Used 20+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hi
bye
hi
An exception occurred
hi
bye
An exception occurred
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
Something went wrong
Finally print this
Something went wrong
Nothing went wrong
Finally print this
Finally print this
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
50
0
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
50
numbers can not divide by 0
error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
error
numbers can not divide by 0
numbers can not divide by 0
no errors
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
hi
hi
bye
hi
bye
bye
bye
hi
bye
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
we want to write something in test.txt file. what is the correct syntax?
f = open("test.txt", "w")
f = open("test.txt")
f = open("test.txt", "r")
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
how to import python math modules?
form import math
import math
import from math
from math
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
Lorum Ipsum
demofile.txt
Something went wrong when writing to the file.
Similar Resources on Quizizz
12 questions
Kpop

Quiz
•
5th Grade - University
10 questions
Simple Easy Basic Lua Quiz

Quiz
•
4th Grade - Professio...
10 questions
Timelining

Quiz
•
12th Grade
12 questions
SAT Boot Camp Review

Quiz
•
9th - 12th Grade
10 questions
Introductory Quiz

Quiz
•
9th - 12th Grade
12 questions
TXT Quiz- Easy

Quiz
•
KG - Professional Dev...
9 questions
Inflation

Quiz
•
11th - 12th Grade
10 questions
Am I a Moa #txt

Quiz
•
6th Grade - Professio...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University