Computer Science Quiz

Computer Science Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Electric Circuits Quiz

Electric Circuits Quiz

9th - 12th Grade

20 Qs

Earsketch

Earsketch

9th - 12th Grade

22 Qs

Parts of a computer

Parts of a computer

9th - 12th Grade

21 Qs

Adobe Illustrator Certification exam practice

Adobe Illustrator Certification exam practice

9th - 12th Grade

21 Qs

Excel Chapter 1 Vocabulary Test

Excel Chapter 1 Vocabulary Test

9th - 12th Grade

20 Qs

AutoCAD Ch 1

AutoCAD Ch 1

9th - 12th Grade

25 Qs

INDIANA HORTICULTURE CDE VEGETABLE ID 1

INDIANA HORTICULTURE CDE VEGETABLE ID 1

6th - 12th Grade

20 Qs

NCC AD/GC (Format)

NCC AD/GC (Format)

12th Grade - University

18 Qs

Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

Other

12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?