
File Handling 2
Authored by Akila 3600
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of the following is not a valid mode to open a file?
ab
rw
r+
w+
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. The readlines() method returns
str
a list of lines
a list of single characters
a list of integers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which function is used to read all the characters in a text file?
readline(10)
read()
readall()
readcharacters()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following is modes of both writing and reading in binary format in file?
wb+
w
wb
w+
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. A CSV file is also known as a
3D File
String file
Flat file
Random file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Name the module that has to be imported to write a binary file.
csv module
pickle module
unpickle module
random module
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Name the module that has to be imported to write a csv file.
Pickle module
CSV module
csv module
Csv module
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
10 questions
PENGENALAN PERANGKAT PADA KOMPUTER
Quiz
•
9th - 12th Grade
15 questions
Unit 1 LO5 Ethical and Operational Issues and Threats
Quiz
•
12th Grade
10 questions
Application Software
Quiz
•
11th Grade - University
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
11 questions
Câu hỏi ôn tập HKII_Tin học 6
Quiz
•
8th Grade - Professio...
7 questions
Backup, Restore, and Recovery
Quiz
•
9th Grade - University
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade