output?
flashcard - 7(exceptions and file handling)

Flashcard
•
Other
•
12th Grade - University
•
Hard
Quizizz Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
hi An exception occurred
2.
FLASHCARD QUESTION
Front
What is the output? Options: Something went wrong, Finally print this, Something went wrong, Nothing went wrong, Finally print this, Finally print this
Back
Something went wrong
Finally print this
3.
FLASHCARD QUESTION
Front
What is the output? Options: 50, 0, error
Back
error
4.
FLASHCARD QUESTION
Front
What is the output when attempting to divide by 0?
Back
numbers can not divide by 0
5.
FLASHCARD QUESTION
Front
What is the output when dividing numbers by 0?
Back
numbers can not divide by 0, no errors
6.
FLASHCARD QUESTION
Front
What is the output? Options: hi, hi bye hi bye, bye bye hi bye
Back
bye bye hi bye
7.
FLASHCARD QUESTION
Front
we want to write something in test.txt file. what is the correct syntax? Options: f = open("test.txt", "w"), f = open("test.txt"), f = open("test.txt", "r")
Back
f = open("test.txt", "w")
8.
FLASHCARD QUESTION
Front
how to import python math modules?
Back
import math
9.
FLASHCARD QUESTION
Front
What is the output? Options: Lorum Ipsum, demofile.txt, Something went wrong when writing to the file.
Back
Something went wrong when writing to the file.
Similar Resources on Quizizz
11 questions
Java String Objects & Methods

Flashcard
•
12th Grade
8 questions
Computer Fundamentals

Flashcard
•
KG - University
10 questions
Greetings in Spanish

Flashcard
•
KG - University
10 questions
Greetings in Spanish

Flashcard
•
KG - University
7 questions
Урок 3. Весняний інтенсив 2025

Flashcard
•
University
6 questions
Everyday Conversations

Flashcard
•
KG - University
9 questions
Heyyy

Flashcard
•
KG
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