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
14 questions
2025 Ed Puzzle Leadership and Small Group Work Training Quiz
Quiz
•
8th Grade - University
16 questions
Minecraft 1.17 Quiz
Quiz
•
6th Grade - Professio...
20 questions
PBIS-REMS
Quiz
•
6th - 8th Grade
10 questions
Ինֆորմատիկա 6 Paint
Quiz
•
3rd - 9th Grade
11 questions
Информатика Файлдар 7-сынып
Quiz
•
1st - 11th Grade
11 questions
Golf - Deportes Individuales
Quiz
•
1st - 12th Grade
10 questions
Grade 7 ICT
Quiz
•
7th Grade
16 questions
FONKSİYON(function)
Quiz
•
1st - 8th 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
