Binary files in Python
Quiz
•
Computers
•
12th Grade
•
Medium
Sarika Kaushal
Used 49+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mode refer to binary data
w
b
+
a
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mode used for reading and writing in binary file
wb
w
wb+
w+
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function used to write data in binary format
write()
output()
load()
dump()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Module used to read and write into binary files
dump
load
pickle
open
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Method used to read data from a binary file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to open the file file_in.txt for reading?
open('file_in.txt', 'r')
open('file_in.txt','r+')
open('file_in.txt','w')
open('file_in.txt','a')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best way to read an entire file into a list of strings?
.read()
.readline()
.readlines()
.read(all)
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
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Quiz No. 1 on Open Source Software
Quiz
•
11th - 12th Grade
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
10 questions
Kuiz Pemantapan Latihan Amali Pangkalan Data
Quiz
•
12th Grade
15 questions
Disk Management and Boot Sequence Vocab
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
