
file handling
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Madhuri Jha
Used 80+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mode in the following program to open file for writing in a mode where new data will be added at the end of old data
file =open("poem.txt","__")
r
a
w
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct statement to close a file stream named myfile:
myfile.terminate()
myfile.end()
myfile.close()
myfile.remove()
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
See the following code snippet and fill in the blank with appropriate statement
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a method of opening files?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which file is not binary file?
student.mp4
student.jpeg
student.csv
student.exe
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function read single line at a time?
read()
read(n)
readline()
readlines()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to write multiple lines in text file?
write()
writelines()
lines()
print()
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
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
LATIHAN SIMDIG
Quiz
•
9th - 12th Grade
15 questions
Ulangan Harian 2 Informatika X
Quiz
•
12th Grade
10 questions
Latihan Soal Monitoring
Quiz
•
12th Grade
16 questions
A2 Computer Science 4.10 Databases
Quiz
•
10th - 12th Grade
20 questions
องค์ประกอบศิลป์F
Quiz
•
12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
10 questions
Administrasi Sistem Jaringan
Quiz
•
12th Grade
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
