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
11 questions
Soal Photoshop Dasar 1

Quiz
•
1st Grade - University
10 questions
Tes Awal AlPro Modul 6

Quiz
•
University
11 questions
Laravel Post Test

Quiz
•
University
12 questions
C++ Faili (1)

Quiz
•
University
7 questions
Hinge_2.2_text_file

Quiz
•
12th Grade
10 questions
Topic 3: Introduction to Programming (II)

Quiz
•
University
10 questions
Design table and CheckBox G12

Quiz
•
12th Grade
10 questions
SPSS Quiz

Quiz
•
University
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