
Binary files in Python
Authored by Sarika Kaushal
Computers
12th Grade
Used 50+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
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
10 questions
AIJ Test 1 Firewall Jaringan
Quiz
•
9th - 12th Grade
10 questions
Excel
Quiz
•
11th - 12th Grade
15 questions
Mengenal Internet dan Jaringan Local
Quiz
•
12th Grade
15 questions
Vocabulary of Computer
Quiz
•
12th Grade
12 questions
Kuiz Komputer dan ICT
Quiz
•
1st Grade - University
10 questions
Quizzone Gmail
Quiz
•
9th - 12th Grade
10 questions
Bitmap/Adobe Photoshop
Quiz
•
9th - 12th Grade
10 questions
Intro to Windows Server 2012
Quiz
•
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