Search Header Logo

File Handling - Python

Computers

9th Grade

Used 255+ times

File Handling - Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Replace
Append
Write
Read

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

True
False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 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

Reading from a file often involves using...

A loop
An condition
Comments

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?