Python File Handling

Python File Handling

7th - 10th Grade

8 Qs

quiz-placeholder

Similar activities

Computer Y9 Level 8

Computer Y9 Level 8

9th Grade

10 Qs

Pandas Quiz

Pandas Quiz

9th Grade

8 Qs

Data Representation - Sound

Data Representation - Sound

2nd - 12th Grade

10 Qs

Programming - Basic File Handling Operations

Programming - Basic File Handling Operations

3rd - 11th Grade

10 Qs

Data representation - Sound

Data representation - Sound

9th - 11th Grade

12 Qs

Manging Files and Folders

Manging Files and Folders

2nd - 10th Grade

10 Qs

File Management

File Management

9th - 12th Grade

12 Qs

BTEC DIT: Revision 1-6

BTEC DIT: Revision 1-6

1st - 12th Grade

11 Qs

Python File Handling

Python File Handling

Assessment

Quiz

Computers

7th - 10th Grade

Easy

Created by

Megha Agarwal

Used 6+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to use(add) a module in Python Programming?

insert

input

import

None