
FILE HANDLING
Authored by Monica Priya
Computers
12th Grade
Used 125+ times

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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?