Search Header Logo

Python File Handling

Authored by Megha Agarwal

Computers

7th - 10th Grade

Used 8+ times

Python File Handling
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the full form of CSV?

Common separated value

Comma separated value

Comma secured value

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension for binary files?

.csv

.CSV

.dat

.txt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function of text file will read the content of the complete file?

read(4)

readline()

redlines()

read()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which mode in file handling will create a file , if the file does not exist?

r

w

a

NONE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Storing the data in binary files is called .

Pickling

Unpickling

Both a and b

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read the content of Binary files ?

dump()

load()

both a and b

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which mode in binary files is used to keep the previous data of an existing file along with add the new data at the end of it .

rb

wb

ab

a

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?