
Computer Science Quiz
Authored by Amudhavalli K
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What type of data is stored in a binary file?
Plain text
Encoded strings
Binary format (0s and 1s)
Unicode format
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a difference between text and binary files?
Binary files are not human-readable
Text files store data as ASCII/Unicode
Binary files are always smaller
Binary files store data in raw format
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main purpose of using the pickle module in Python?
Encrypt data
Convert binary to text
Serialize and deserialize Python objects
Compress files
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which module is required to perform pickling in Python?
binary
pickle
os
marshal
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is used to save an object to a binary file?
pickle.read()
pickle.load()
pickle.save()
pickle.dump()
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which function is used to read an object from a binary file using pickle?
pickle.dump()
pickle.read()
pickle.load()
pickle.open()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to open a binary file for writing?
open('file.dat', 'w')
open('file.dat', 'rb')
open('file.dat', 'wb')
open('file.dat', 'ab')
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
16 questions
PF 6.02, 6.03, 6.04
Quiz
•
KG - University
20 questions
Kerajinan Limbah Bangun Datar
Quiz
•
12th Grade - University
20 questions
3.02_IM281 H. SEM I Review
Quiz
•
9th - 12th Grade
15 questions
Data Collection
Quiz
•
12th Grade
20 questions
TEKS BIOGRAFI
Quiz
•
9th - 12th Grade
20 questions
Ulangan Harian 1
Quiz
•
12th Grade
15 questions
Teks Eksposisi VIII RGLR
Quiz
•
12th Grade - University
20 questions
PKWU Kelas 12
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade