Binary File Handling Python

Binary File Handling Python

12th Grade

10 Qs

quiz-placeholder

Similar activities

Create a Website 1

Create a Website 1

KG - University

10 Qs

Desain Grafis Kelas ''COVID-19"

Desain Grafis Kelas ''COVID-19"

12th Grade - University

10 Qs

TCP/IP & other protocols [A Level]

TCP/IP & other protocols [A Level]

12th Grade

14 Qs

History of Digital Computer

History of Digital Computer

10th - 12th Grade

10 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

Parity

Parity

10th - 12th Grade

10 Qs

Kuiz ICT

Kuiz ICT

KG - 12th Grade

10 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

Binary File Handling Python

Binary File Handling Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Neena Sharma

Used 242+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mode in the following program to open file for writing in a mode where new data will be added at the end of old data


file =open("poem.txt","__")

r

a

w

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file execute faster?

Text file

Binary file

CSV file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mode used for reading and writing in binary file

wb

w

wb+

w+

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function used to write data in binary format

write()

output()

load()

dump()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The type of operation possible in an opened file is governed by

File Object

File Mode

File Path

open() Method

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Module used to read and write into binary files

dump

load

pickle

open

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function returns the current position of file pointer in the file

tell()

seek()

read()

flush()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?