Binary File Handling Python

Binary File Handling Python

12th Grade

10 Qs

quiz-placeholder

Similar activities

Understanding Image Representation and Compression

Understanding Image Representation and Compression

10th Grade - University

11 Qs

Python- Text file handling Quiz 2

Python- Text file handling Quiz 2

12th Grade

10 Qs

Python CSV

Python CSV

12th Grade

10 Qs

Code.org CSP Unit 1 Review

Code.org CSP Unit 1 Review

9th - 12th Grade

15 Qs

Binary File handling

Binary File handling

12th Grade

6 Qs

Soal Photoshop Dasar 1

Soal Photoshop Dasar 1

1st Grade - University

11 Qs

Edexcel GCSE Computer Science Topic 2: Data

Edexcel GCSE Computer Science Topic 2: Data

12th Grade

10 Qs

AP CSP~ BigIdea 2 Data

AP CSP~ BigIdea 2 Data

9th - 12th Grade

10 Qs

Binary File Handling Python

Binary File Handling Python

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Neena Sharma

Used 237+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?