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
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")
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 Wayground
5 questions
Guess the txt member (kpop)

Quiz
•
9th - 12th Grade
10 questions
Productivity performance

Quiz
•
University
10 questions
Economic Reforms 199q

Quiz
•
12th Grade
10 questions
Kpop Music

Quiz
•
6th Grade - Professio...
10 questions
kpop fandom names

Quiz
•
KG - Professional Dev...
10 questions
DFC 10042 PROBLEM SOLVING AND PROGRAM DESIGN

Quiz
•
University
10 questions
Music

Quiz
•
5th - 12th Grade
10 questions
3. Production, Costs and Revenue - Year 1

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade