
File Handling - Python
Computers
9th Grade
Used 259+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a method of opening files?
Replace
Append
Write
Read
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Opening a file with write access causes the contents of the file to removed first.
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Appending to a file means adding extra data into the file.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When writing to a file you cannot create new lines.
False
True
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the last action that must be performed on a file?
Close
Save
End
Write
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the data type of data read from a file?
String
Integer
Real
Boolean
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Reading from a file often involves using...
A loop
An condition
Comments
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?