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
10 questions
Mastering Python Data Structures

Quiz
•
University
13 questions
Globalization

Quiz
•
10th - 12th Grade
10 questions
LabVIEW

Quiz
•
University
10 questions
MACROECONOMICS: Chapter 1

Quiz
•
University
11 questions
K-POP QUIZ!

Quiz
•
4th Grade - University
12 questions
Операционная система. Организация работы с файлами

Quiz
•
12th Grade
10 questions
Computer Parts Review

Quiz
•
6th - 12th Grade
10 questions
C3 : SET 2 - DETERMINATION OF NATIONAL INCOME EQUILIBRIUM

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade