File Handling in Python

File Handling in Python

10th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Intro to Web Design

Intro to Web Design

9th - 12th Grade

17 Qs

Python Recap

Python Recap

9th - 11th Grade

19 Qs

Intro to HTML

Intro to HTML

8th - 12th Grade

20 Qs

Elements, Paths, and Entities

Elements, Paths, and Entities

9th - 12th Grade

15 Qs

Python Level 3 - Lesson 2

Python Level 3 - Lesson 2

10th Grade

15 Qs

AP CSA Unit 1 Intro

AP CSA Unit 1 Intro

9th - 12th Grade

16 Qs

Quiz UTS Pemrograman Dasar C++

Quiz UTS Pemrograman Dasar C++

10th Grade

20 Qs

Harry Potter

Harry Potter

6th Grade - University

16 Qs

File Handling in Python

File Handling in Python

Assessment

Quiz

Computers

10th - 11th Grade

Medium

Created by

Rachel Pugh

Used 35+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?