Search Header Logo

File Handling in Python

Authored by Rachel Pugh

Computers

10th - 11th Grade

Used 36+ times

File Handling in Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a method of opening files?

Replace
Append
Write
Read

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Opening a file with write access causes the contents of the file to removed first.

True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Appending to a file means adding extra data into the file.

True
False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When writing to a file you cannot create new lines.

False
True

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the last action that must be performed on a file?

Close
Save
End
Write

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the data type of data read from a file?

String
Integer
Real
Boolean

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Appending data to a file places it at the start of the file.

False
True

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?