
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
10 questions
ASJ Quiz Kelas XII
Quiz
•
12th Grade
10 questions
emtech
Quiz
•
12th Grade
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
10 questions
Quiz 8 (01.09.2021)
Quiz
•
1st - 12th Grade
8 questions
Basic computer
Quiz
•
9th - 12th Grade
11 questions
Microsoft Word Office
Quiz
•
10th Grade - University
10 questions
BTEC National ICT U2 - Microsoft Access
Quiz
•
12th Grade
13 questions
Year 10 Data Transmission
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
