
Computer Science Quiz
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Amudhavalli K
Used 1+ times
FREE Resource
Enhance your content in a minute
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
15 questions
Basic Guidelines and Environmental Safety
Quiz
•
9th - 12th Grade
15 questions
30DC- Interpretasi Penginderaan Jauh
Quiz
•
12th Grade
15 questions
RADIO - Facts and Figures
Quiz
•
9th - 12th Grade
19 questions
SEMI 2.03-2.06
Quiz
•
9th - 12th Grade
15 questions
Caribbean Studies Quiz
Quiz
•
12th Grade
20 questions
Pretest Kelas 10 Semester Genap
Quiz
•
10th Grade - University
20 questions
SEJARAH KELAS X PAS GENAP 2020
Quiz
•
10th - 12th Grade
20 questions
SIMULASI PENILAIAN TENGAH SEMESTER
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
