flashcard - 7(exceptions and file handling)
Flashcard
•
Other
•
12th Grade - University
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
output?
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 Wayground
7 questions
Sight Words
Flashcard
•
KG
11 questions
Relative pronouns WHO WHICH THAT
Flashcard
•
12th Grade
10 questions
System and Process Management Basics
Flashcard
•
KG
4 questions
TRAVEL
Flashcard
•
University
10 questions
Fun English Challenges for Kids
Flashcard
•
University
10 questions
Lexicode 1 - G6
Flashcard
•
University
12 questions
Chapter 5 Vocabulary Algebra 2
Flashcard
•
11th Grade
5 questions
Labor Wages
Flashcard
•
11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Other
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
11 questions
Halloween Trivia #2
Quiz
•
12th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade