
Textboob MCQs Chapter 6 - Files
Authored by vihutuo paira
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a solid argument for using file handling?
It is not possible to store all data produced by the program in the main memory
It is used for persistent storage
Both
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the format the end of the line is denoted by \n and \r
Text
Binary
Both
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To be able to use a file it must be opened. The reason for doing so is
To allocate memory to the object so formed
To specify the access mode
To specify the offset (optional)
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In f = open("abc.txt", "r"), the offset is
0 from the beginning
0 from the end
Random
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many arguments does the open function take?
1
2
3
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The file must be closed, if it is opened in which of the following mode?
r
w
both
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the file is not opened successfully, which of the following exception is raised?
File not found
IOERROR
IO
None of these
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
20 questions
Database&Relation
Quiz
•
12th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
20 questions
EVALUASI BAB 5 & BAB 6
Quiz
•
12th Grade
27 questions
Adobe Illustrator Quiz Review
Quiz
•
9th - 12th Grade
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
20 questions
Quiz on Excel
Quiz
•
12th Grade
20 questions
UKK TKJ 2022-P2
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade