FILE HANDLING

FILE HANDLING

12th Grade

14 Qs

quiz-placeholder

Similar activities

Python Basic files

Python Basic files

10th - 12th Grade

10 Qs

File Type Extensions

File Type Extensions

8th Grade - University

10 Qs

FILE HANDLING IN PYTHON

FILE HANDLING IN PYTHON

12th Grade

10 Qs

File Formats

File Formats

9th - 12th Grade

15 Qs

QUIZ 22

QUIZ 22

12th Grade - University

10 Qs

File Handling

File Handling

12th Grade

10 Qs

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

File Handling-1

File Handling-1

12th Grade

10 Qs

FILE HANDLING

FILE HANDLING

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Monica Priya

Used 120+ 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?