
file handling

Quiz
•
Computers
•
12th Grade
•
Hard
Madhuri Jha
Used 78+ 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
20 questions
CBSE Class 12 Python Quiz

Quiz
•
12th Grade
20 questions
File Handling Revision- Text file Handling Quiz 1

Quiz
•
12th Grade
15 questions
File Handling in Python

Quiz
•
12th Grade
18 questions
File types

Quiz
•
12th Grade
12 questions
file python

Quiz
•
12th Grade
20 questions
File Handling in C++

Quiz
•
12th Grade - University
15 questions
Revision - CSV File Handling

Quiz
•
12th Grade
10 questions
12th cs cha13

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University