Lesson 41 - file handling & Various opening modes in file

Lesson 41 - file handling & Various opening modes in file

5th Grade

20 Qs

quiz-placeholder

Similar activities

Revised Bloom's Taxonomy

Revised Bloom's Taxonomy

KG - University

20 Qs

COVID-19 Antigen Rapid Test Training

COVID-19 Antigen Rapid Test Training

1st - 6th Grade

15 Qs

REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]

REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]

1st Grade - University

20 Qs

Equity and Equality

Equity and Equality

5th - 7th Grade

20 Qs

Quiz of the Week

Quiz of the Week

1st - 12th Grade

15 Qs

Google Docs Pre-Assessment

Google Docs Pre-Assessment

3rd Grade - Professional Development

20 Qs

ABSTRACT NOUNS

ABSTRACT NOUNS

5th Grade

15 Qs

SoftSkill v3.0 (BAFing Module)

SoftSkill v3.0 (BAFing Module)

KG - Professional Development

20 Qs

Lesson 41 - file handling & Various opening modes in file

Lesson 41 - file handling & Various opening modes in file

Assessment

Quiz

Professional Development, Education

5th Grade

Practice Problem

Medium

Created by

NotchUp .co

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The main goal of file handling in python is -

to save program codes

to store state of the program

to save program related data

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following function is used to open the file in python file handling ?

open()

unlock()

unfold()

extend()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many parameters used to pass while opening a file ?

2

3

1

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following mode is applied while writing into the file ?

'w'

'r'

'write'

'read'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we open file in reading mode the initial position of the cursor is- 

0

After the last written word

middle of the file

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we open file in writing mode what will happen ?

all the previous data will be deleted

all the previous data will not be deleted

Both can be happen depending on the situation

none

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to check the file opening mode of the file ?

readable()

writable()

Both readable() & writable()

none

Create a free account and access millions of resources

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?