
Computer Science Quiz

Quiz
•
Other
•
12th Grade
•
Medium
Amudhavalli K
Used 1+ times
FREE Resource
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')
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Empowerment Technology

Quiz
•
12th Grade
20 questions
Google Apps

Quiz
•
12th Grade - Professi...
20 questions
Web Design

Quiz
•
9th - 12th Grade
20 questions
Tech Pictionary round 1.2

Quiz
•
12th Grade
21 questions
Parts of a computer

Quiz
•
9th - 12th Grade
25 questions
AutoCAD Ch 1

Quiz
•
9th - 12th Grade
20 questions
INDIANA HORTICULTURE CDE VEGETABLE ID 1

Quiz
•
6th - 12th Grade
20 questions
Electric Circuits Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade