
quiz - 7(exceptions and file handling)
Authored by sasika roledenez
Other
12th Grade - University
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output?
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")
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
10 questions
Modul 2 Tipe A
Quiz
•
University
10 questions
Nursing Abbreviations #1
Quiz
•
University
8 questions
Oil Change
Quiz
•
9th - 12th Grade
10 questions
What is Tajweed?
Quiz
•
5th Grade - Professio...
10 questions
BE AN ASTRONAUT
Quiz
•
8th - 12th Grade
14 questions
IGCSE Economics Glossary Terms - L
Quiz
•
9th - 12th Grade
10 questions
quiz - 6 ( loops and functions)
Quiz
•
12th Grade - University
10 questions
Non Deterministic Finite Automata – Introduction
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Other
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
25 questions
Logos
Quiz
•
12th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
18 questions
Mendelian Genetics
Quiz
•
10th - 12th Grade
22 questions
Regular Preterite -AR-ER-IR-
Quiz
•
12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade