GR_FILE HANDLING_WS.1

GR_FILE HANDLING_WS.1

12th Grade

24 Qs

quiz-placeholder

Similar activities

10.1 Synaptic transmission

10.1 Synaptic transmission

10th - 12th Grade

20 Qs

Life Processes

Life Processes

7th - 12th Grade

20 Qs

Periodic Test-I (Part-I)

Periodic Test-I (Part-I)

12th Grade

20 Qs

12 Botany Lesson 1 Part 1 English

12 Botany Lesson 1 Part 1 English

12th Grade

25 Qs

Cell Practice test

Cell Practice test

9th - 12th Grade

25 Qs

Biological classification quiz

Biological classification quiz

11th - 12th Grade

25 Qs

Human reproduction part 2

Human reproduction part 2

12th Grade

20 Qs

Types of Fractures

Types of Fractures

10th - 12th Grade

22 Qs

GR_FILE HANDLING_WS.1

GR_FILE HANDLING_WS.1

Assessment

Quiz

Biology

12th Grade

Medium

Created by

Saranya S

Used 2+ times

FREE Resource

24 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A _____ in itself a bunch of bytes stored permanently in Secondary memory(You always save with an extension)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A___ file store in ASCII or Unicode characters( Human Readable form)

Binary

Text

CSV

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To open a file "c:marks.txt" for reading, we use

(a) file_read = open("c:marks.txt", "r")

(b) file_read = open("c:marks.txt", "r+")

(c) file_read = (file = "c:marks.txt", "r")

(d) file_read = open(file = "c:marks.txt""r")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of tell() method in Python?

(a) returns the current position of record pointer within the file

( b) returns the end position of record pointer within the file

(c) returns the current position of record pointer within the line

(d) none of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands can be used to read "n" number of characters from a file using the file object ?

(a) File.read(n)

(b) N = file.read()

(c) File.readline(n)

(d) File.readlines()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax of open() function?

(a) File = open(file_name[, acces]

(b) File object = open(file_name [, access_mode])

(c) File object = open(file_name)

(d) None of the above

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which type of file is no need to translation or specific code

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?