binary file quiz

binary file quiz

12th Grade

11 Qs

quiz-placeholder

Similar activities

tin 10 l11

tin 10 l11

12th Grade

10 Qs

SOAL US (UJIAN SEKOLAH) SIMDIG KELAS XII 2024/2025

SOAL US (UJIAN SEKOLAH) SIMDIG KELAS XII 2024/2025

12th Grade - University

15 Qs

Ôn tập bài 3: Giới thiệu về Microsoft Acces

Ôn tập bài 3: Giới thiệu về Microsoft Acces

12th Grade

15 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

Sistem komputer 9

Sistem komputer 9

9th Grade - University

10 Qs

HTML

HTML

12th Grade

10 Qs

IC3 Living Online #1

IC3 Living Online #1

12th Grade

14 Qs

binary file quiz

binary file quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

anshu sharma

Used 3+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To write dictionaries, tuples and any other python objects in binary file ___________ function is used

dump()

load()

write()

writelines()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____________ is a processing of converting Python object hierarchy into a byte stream so that the contents can be written onto a file.

Serialization/Pickling

deserialization/ Unpickling

Conversion

Linking

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pickle. dump() takes two arguments namely ___________ and __________

fileobject, file handle of the open file

file handle of the open file

file handle of the open file, fileobject

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct syntax of with statement is ___________

with open(<filename>,<mode>) as <file_handle>

With Open(<filename>,<mode>) <file_handle>

with open(<filename>,<mode>) as <file_handle>:

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

to unpickle the data coming from the file _________________ function of the pickle module is used.

pickle, load()

pickle.load()

pickle.load

pickle:load()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While appending the data to the binary file, the mode should be _________________.

'a+'

'ab'

'a'

'w'

'w+'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mode used for reading and writing in binary file

wb

w

wb+

w+

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?