FILE HANDLING

FILE HANDLING

12th Grade

14 Qs

quiz-placeholder

Similar activities

Binary files in Python

Binary files in Python

12th Grade

13 Qs

Reading & writing to a text file (Python)

Reading & writing to a text file (Python)

9th - 12th Grade

14 Qs

Writing files in python

Writing files in python

9th - 12th Grade

13 Qs

File Handling - Grade XII

File Handling - Grade XII

12th Grade

15 Qs

file handling

file handling

12th Grade

12 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Binary File Handling Python

Binary File Handling Python

12th Grade

10 Qs

Python File Handling

Python File Handling

12th Grade

15 Qs

FILE HANDLING

FILE HANDLING

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Monica Priya

Used 119+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of “a” in file handling?

Read

Write

Append

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read single line from file?

Readline()

Readlines()

Readstatement()

Readfullline()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to close a file in python?

Close()

Stop()

End()

Closefile()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it possible to create a text file in python?

Yes

No

Machine dependent

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of seek() method in files?

sets the file’s current position at the offset

sets the file’s previous position at the offset

sets the file’s current position within the file

none of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following mode will refer to binary data?

r

w

+

b

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

EOL stands for

End Of Line

End Of List

End of Lines

End Of Location

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?