
File Handling
Quiz
•
Computers
•
12th Grade
•
Hard
CHANDAN LOHANI
Used 1+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Choose the correct statement to close a file stream named myfile:
myfile.terminate()
myfile.end()
myfile.close()
myfile.remove()
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The readlines() method returns
a. str
b. a list of lines
c. a list of single characters
d. a list of integers
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
An absolute path name begins at the
leaf
stem
root
current directory
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which function read single line at a time?
read()
read(n)
readline()
readlines()
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which memory is volatile memory?
RAM
Hard Disk
CD
Pen drive
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Where files are store permanently?
RAM
Hard Disk
Cache memory
None of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which function is used to close a file in python?
Close()
Stop()
End()
Closefile()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
15 questions
tik kelas 7
Quiz
•
1st Grade - University
15 questions
WORKSPACE_ intro
Quiz
•
1st Grade - Professio...
16 questions
Digital Icons
Quiz
•
12th Grade - University
15 questions
Comkrumilk
Quiz
•
10th - 12th Grade
10 questions
Pengaturcaraan
Quiz
•
12th Grade
15 questions
Quis Keamanan Data
Quiz
•
10th Grade - University
12 questions
Domain dan Hosting
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
