
File Handling in Python - Grade 12 CBSE
Authored by Jeeva K
Computers
12th Grade
Used 75+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Information stored on a storage device with a specific name is called a _______________
tuple
array
dictionary
file
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To read the next line of the file from a file object called F_H, we use
F_H.readlines()
F_H.read(all)
F_H.readline()
F_H.read()
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following format of files can be created programmatically through python to store some data
Data File
Video File
Binary File
Text File
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To read the remaining line of the file from a file object called F_H, we use
F_H.readlines()
F_H.read.remaining()
F_H.readline()
F_H.read(remaining)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following mode will refer to binary data?
+
w
r
b
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'a+' means in file handling?
Overwrite
Append
Append and read
Write and read
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to read all the characters?
readall()
readallchr()
read()
readcharacters()
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?