Mode refer to binary data
Binary files in Python

Quiz
•
Computers
•
12th Grade
•
Medium
Sarika Kaushal
Used 49+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
13 questions
Writing files in python

Quiz
•
9th - 12th Grade
8 questions
Python Files I/O

Quiz
•
6th - 12th Grade
8 questions
PYTHON FILES

Quiz
•
9th - 12th Grade
10 questions
File Handling in Python

Quiz
•
11th - 12th Grade
15 questions
File Handling in Python

Quiz
•
12th Grade
10 questions
File Type Extensions

Quiz
•
8th Grade - University
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
15 questions
File Handling in Python

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University