File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

quiz-placeholder

Similar activities

File Methods in Python

File Methods in Python

12th Grade

20 Qs

Python Binary File

Python Binary File

12th Grade

15 Qs

VIM: The Better Text Editor

VIM: The Better Text Editor

9th Grade - University

10 Qs

File Writing

File Writing

9th - 12th Grade

20 Qs

Soal Photoshop Dasar 1

Soal Photoshop Dasar 1

1st Grade - University

11 Qs

Python- Text file handling Quiz 2

Python- Text file handling Quiz 2

12th Grade

10 Qs

Exploring File Operations in Python

Exploring File Operations in Python

12th Grade

20 Qs

20.2 File Processing and Exception Handling Cambridge iA 9618

20.2 File Processing and Exception Handling Cambridge iA 9618

12th Grade

20 Qs

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Jeeva K

Used 74+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Information stored on a storage device with a specific name is called a _______________

tuple

array

dictionary

file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To read the next line of the file from a file object called F_H, we use

F_H.readlines()

F_H.read(all)

F_H.readline()

F_H.read()

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following format of files can be created programmatically through python to store some data

Data File

Video File

Binary File

Text File

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To read the remaining line of the file from a file object called F_H, we use

F_H.readlines()

F_H.read.remaining()

F_H.readline()

F_H.read(remaining)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following mode will refer to binary data?

+

w

r

b

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'a+' means in file handling?

Overwrite

Append

Append and read

Write and read

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read all the characters?

readall()

readallchr()

read()

readcharacters()

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?

Discover more resources for Computers