Search Header Logo

FILE HANDLING

Authored by Monica Priya

Computers

12th Grade

Used 125+ times

FILE HANDLING
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?