
file handling
Authored by Madhuri Jha
Computers
12th Grade
Used 80+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
15 questions
Imaging and Design
Quiz
•
11th - 12th Grade
10 questions
ASJ Quiz Kelas XII
Quiz
•
12th Grade
10 questions
emtech
Quiz
•
12th Grade
12 questions
Remidi TLJ
Quiz
•
12th Grade
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
12 questions
BÀI 2: TRÍ TUỆ NHÂN TAO TRONG KHOA HỌC VÀ CUỘC SÔNG
Quiz
•
12th Grade
11 questions
Microsoft Word Office
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade