
binary file quiz

Quiz
•
Computers
•
12th Grade
•
Medium
anshu sharma
Used 3+ times
FREE Resource
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
Similar Resources on Wayground
11 questions
HTML Basics Quiz

Quiz
•
9th Grade - University
10 questions
Media Player Quiz

Quiz
•
12th Grade
10 questions
File Handling in Python

Quiz
•
11th - 12th Grade
11 questions
Basic HTML Tags I

Quiz
•
9th - 12th Grade
11 questions
Unit 4 Quiz

Quiz
•
9th - 12th Grade
9 questions
HTML Basics

Quiz
•
9th Grade - Professio...
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC

Quiz
•
9th - 12th Grade
10 questions
Prog.web (form&input)

Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade