EvaluativeQuiz
Quiz
•
Other
•
6th - 8th Grade
•
Practice Problem
•
Medium
Ben Marwen
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you open a file for reading in Python?
open('filename.txt', 'r')
open('filename.txt', 'w')
open('filename.txt', 'a')
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you read the contents of a file in Python?
file.read()
file.write()
file.append()
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
How do you open a file for writing in Python?
open('filename.txt', 'r')
open('filename.txt', 'w')
open('filename.txt', 'a')
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you write to a file in Python?
file.read()
file.write()
file.writeline()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you close a file in Python?
file.close()
file.open()
file.exit()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the command used to show a message on the console in Python?
print()
input()
read()
write()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a data type in Python?
Integer
String
Boolean
Double
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
未來學堂3
Quiz
•
6th Grade
10 questions
(LS) CPA CPF5 Storage Device
Quiz
•
6th - 12th Grade
14 questions
Christmas songs & movies
Quiz
•
1st - 12th Grade
10 questions
Carbohydrates
Quiz
•
6th - 11th Grade
15 questions
kitchen safety qizziz
Quiz
•
6th Grade
10 questions
TIK kelas 8
Quiz
•
8th Grade
10 questions
Logistiek Magazijn H2
Quiz
•
1st - 10th Grade
10 questions
Back to school/Covid 19 Resilience
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
20 questions
Percent of a Number
Quiz
•
6th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
