
binary file quiz
Quiz
•
Computers
•
12th Grade
•
Medium
anshu sharma
Used 3+ times
FREE Resource
Enhance your content
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
15 questions
Disk Management and Boot Sequence Vocab
Quiz
•
9th - 12th Grade
10 questions
Power Point Prezentation kviz 1
Quiz
•
7th Grade - University
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Windows 10 Basics
Quiz
•
9th - 12th Grade
10 questions
Data Engineering y BigQuery V1
Quiz
•
12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
