Python File Handling

Python File Handling

12th Grade

23 Qs

quiz-placeholder

Similar activities

HISTORY OF COMPUTER_SUMMATIVE 1

HISTORY OF COMPUTER_SUMMATIVE 1

11th - 12th Grade

20 Qs

quiz_G10

quiz_G10

12th Grade

20 Qs

TIK 9 - Penggunaan Browser Untuk Akses Internet

TIK 9 - Penggunaan Browser Untuk Akses Internet

11th - 12th Grade

20 Qs

Chương 2 - 3

Chương 2 - 3

12th Grade

20 Qs

Ulangan Harian 1 CSS PPL 2

Ulangan Harian 1 CSS PPL 2

9th - 12th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

Format File Gambar

Format File Gambar

12th Grade

20 Qs

Quiz ASJ

Quiz ASJ

12th Grade

20 Qs

Python File Handling

Python File Handling

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Tejendra Pachhai

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

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

23 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

2.

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

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

see the program and fill in the blank with correct statement.

4.

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()

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

See the following code snippet and fill in the blank with appropriate statement

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

Fill in the blank with appropriate statement.

7.

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)

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?