
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
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
LỚP 7.1_KTTX1_MÔN TIN HỌC 7
Quiz
•
7th - 12th Grade
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
15 questions
G8 Practice PC
Quiz
•
12th Grade
15 questions
MVC-PHP
Quiz
•
12th Grade
15 questions
IPT AMS 6.2 Examples of Automated manufacturing Systems
Quiz
•
12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
CALL: TOEFL EXERCISE 17
Quiz
•
11th - 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
