File Handling with Python

Quiz
•
Computers
•
12th Grade - University
•
Hard

Prayrita Anand
Used 93+ times
FREE Resource
7 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
5 sec • 1 pt
1.The default file - open mode is ________ mode.
2.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
The other name for file object is ________.
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
2. A ________ governs the type of operations(eg read/write/append) possible in the opened file.The two types of data files can be ________ files and ________ files.
FILEMODE,EXCEL,WORD
File Mode,read,write
Data,Text,record
File mode,Text,Data
4.
FILL IN THE BLANK QUESTION
5 sec • 1 pt
To close an open file,________ method is used
5.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
.7. To read all the file contents in form of a list ,________ method is used.
6.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
o write a list in a file, ________ method may be used.
7.
MULTIPLE SELECT QUESTION
5 sec • 1 pt
.7. To read all the file contents in form of a string ,________ method is used.
read()
readline()
readlines()
none of these
Similar Resources on Wayground
10 questions
File Handling in Python

Quiz
•
11th - 12th Grade
8 questions
Python Files I/O

Quiz
•
6th - 12th Grade
8 questions
PYTHON FILES

Quiz
•
9th - 12th Grade
10 questions
Adobe Character Animator Starter Mode Quiz

Quiz
•
9th - 12th Grade
10 questions
Process management by cpu

Quiz
•
12th Grade
10 questions
Framework Genaf

Quiz
•
12th Grade
10 questions
Arduino programming

Quiz
•
12th Grade
10 questions
Photoshop Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade