FILE HANDLING

FILE HANDLING

12th Grade

14 Qs

quiz-placeholder

Similar activities

ESBWB Workbook Domain 1 Lesson 2

ESBWB Workbook Domain 1 Lesson 2

9th - 12th Grade

15 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

வகுப்பு 12 - அடோப் இன்டிசைன் CC 2019

வகுப்பு 12 - அடோப் இன்டிசைன் CC 2019

12th Grade

13 Qs

Hosting : cPanel Share & VPS

Hosting : cPanel Share & VPS

12th Grade

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

AI Checkpoint 1 Revision

AI Checkpoint 1 Revision

9th - 12th Grade

16 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Review

Review

9th - 12th Grade

10 Qs

FILE HANDLING

FILE HANDLING

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Monica Priya

Used 125+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of “a” in file handling?

Read

Write

Append

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read single line from file?

Readline()

Readlines()

Readstatement()

Readfullline()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to close a file in python?

Close()

Stop()

End()

Closefile()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it possible to create a text file in python?

Yes

No

Machine dependent

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of seek() method in files?

sets the file’s current position at the offset

sets the file’s previous position at the offset

sets the file’s current position within the file

none of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following mode will refer to binary data?

r

w

+

b

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

EOL stands for

End Of Line

End Of List

End of Lines

End Of Location

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?