
binary file quiz
Authored by anshu sharma
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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+
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
12 questions
Windows 10 Installation
Quiz
•
11th - 12th Grade
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
10 questions
Soal Ujian Komputer
Quiz
•
10th - 12th Grade
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Soal Pra UKK 2024 - Paket 2
Quiz
•
12th Grade
15 questions
MVC-PHP
Quiz
•
12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade