
file handling

Quiz
•
Computers
•
12th Grade
•
Hard
Madhuri Jha
Used 80+ times
FREE Resource
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
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()
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Technology Applications

Quiz
•
9th Grade - University
18 questions
Informatika Kelompok 4 12B

Quiz
•
12th Grade
18 questions
Lossy Vs Lossless

Quiz
•
9th - 12th Grade
15 questions
Extensiones de windows, office,

Quiz
•
9th - 12th Grade
12 questions
Données structurées, le quiz

Quiz
•
10th - 12th Grade
20 questions
Python Quiz

Quiz
•
12th Grade
10 questions
Python: práce se soubory (opakování)

Quiz
•
12th Grade
20 questions
Data handling using pandas and Data visualization

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade