
File Handling
Authored by CHANDAN LOHANI
Computers
12th Grade
Used 1+ 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 • 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()
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?
Similar Resources on Wayground
9 questions
2.2(a) Network Architecture
Quiz
•
12th Grade
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
10 questions
1.1 - System Architecture - CPU [OCR] [GCSE]
Quiz
•
9th - 12th Grade
15 questions
MS. Excel
Quiz
•
12th Grade - University
12 questions
website design elements
Quiz
•
12th Grade
16 questions
Prepare For Final Exam
Quiz
•
9th - 12th Grade
11 questions
Packet Switching and Encryption
Quiz
•
10th - 12th Grade
11 questions
Arduino - Contador
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade