wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

File handling

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which is not a text file?

a)

data.txt

b)

data.csv

c)

data.rft

d)

data.mp3

2.

Which file is not binary file?

a)

student.mp4

b)

student.jpeg

c)

student.csv

d)

student.exe

3.

Which function read single line at a time?

a)

read()

b)

read(n)

c)

readline()

d)

readlines()

4.

Which memory is volatile memory?

a)

RAM

b)

Hard Disk

c)

CD

d)

Pen drive

5.

Where files are store permanently?

a)

RAM

b)

Hard Disk

c)

Cache memory

d)

None of these

6.

In our computer all software and files are store in

a)

DVD

b)

CD

c)

RAM

d)

Hard Disk

7.

Which are the text editor software?

a)

Notepad

b)

Wordpad

c)

MS word

d)

PPT

8.

Which function is used to write multiple lines in text file?

a)

write()

b)

writelines()

c)

lines()

d)

print()

9.

Which file execute faster?

a)

Text file

b)

Binary file

c)

CSV file

10.

By default python program save in which drive?

a)

D Drive

b)

C Drive

c)

E Drive

d)

F Drive