
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
Comptia network plus

Quiz
•
12th Grade - Professi...
19 questions
Piggy quiz!

Quiz
•
KG - Professional Dev...
15 questions
LGBTQ+ 101: Vocabulary the Basics

Quiz
•
6th - 12th Grade
18 questions
Tug-O-Wits Version 2 - VOLT

Quiz
•
3rd Grade - University
20 questions
XII RPL 1 06 maret

Quiz
•
12th Grade
15 questions
Microsoft Excel Features and Functions

Quiz
•
10th Grade - University
25 questions
Information Literacy

Quiz
•
9th - 12th Grade
20 questions
Quiz on Collaborative Development of ICT

Quiz
•
12th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade