
File Handling - Grade XII
Quiz
•
Computers
•
12th Grade
•
Hard
M jenira
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mode in the following program to open file for writing in a mode where new data will be added at the end of old data
file =open("poem.txt","__")
r
a
w
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct statement to close a file stream named myfile:
myfile.terminate()
myfile.end()
myfile.close()
myfile.remove()
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
See the following code snippet and fill in the blank with appropriate statement
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Fill in the blank with appropriate statement.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which function is used to read records from a binary file?
pickle.load(f)
pickle.read()
pickle.open()
pickle.dump(l,f)
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Write the appropriate statement in the blank.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement(s) is/are true to open a binary file "Record.dat" for reading and writing.
file =open("Record.dat","wb")
file =open("Record.dat","rb")
file =open("Record.dat","ab")
file =open("Record.dat","rb+")
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
Internet Application in Education
Quiz
•
11th - 12th Grade
17 questions
Operating System
Quiz
•
12th Grade
16 questions
Python Unit 3 Codehs
Quiz
•
9th - 12th Grade
19 questions
Getting Started with MS Office
Quiz
•
7th - 12th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
10 questions
BT VÀ TH 2
Quiz
•
12th Grade
13 questions
Unit 2 Technology System Revision Quiz
Quiz
•
12th Grade
11 questions
Y12 Data Rep Images
Quiz
•
9th - 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
