
File Handling 2
Quiz
•
Computers
•
12th Grade
•
Hard
Akila 3600
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
11 questions
Packet Switching and Encryption
Quiz
•
10th - 12th Grade
15 questions
SOAL ULANGAN HARIAN 1 TIK SEMESTER GENAP 2018-2019
Quiz
•
9th - 12th Grade
10 questions
Kuis Mengenal SketchUp
Quiz
•
10th - 12th Grade
10 questions
Pseudocode Input
Quiz
•
9th - 12th Grade
10 questions
1.1 - System Architecture - CPU [OCR] [GCSE]
Quiz
•
9th - 12th Grade
10 questions
Lesson 11-Editing Video
Quiz
•
9th - 12th Grade
13 questions
Riviosn_internet threats & computer system
Quiz
•
9th - 12th Grade
12 questions
website design elements
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
