File Handling 2

File Handling 2

12th Grade

10 Qs

quiz-placeholder

Similar activities

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Review I-PM Ujikom Multimedia

Review I-PM Ujikom Multimedia

12th Grade

10 Qs

M5-FlowChart & Python

M5-FlowChart & Python

10th - 12th Grade

10 Qs

Teknologi Layanan Jaringan XII

Teknologi Layanan Jaringan XII

12th Grade

10 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

Kuis Aplikasi Presentasi

Kuis Aplikasi Presentasi

1st - 12th Grade

10 Qs

Dasar Desain Grafis

Dasar Desain Grafis

12th Grade - University

15 Qs

File Handling 2

File Handling 2

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Akila 3600

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following is not a valid mode to open a file?

ab

rw

r+

w+

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. The readlines() method returns

str

a list of lines

a list of single characters

a list of integers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which function is used to read all the characters in a text file?

readline(10)

read()

readall()

readcharacters()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which of the following is modes of both writing and reading in binary format in file?

wb+

w

wb

w+

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. A CSV file is also known as a

3D File

String file

Flat file

Random file

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Name the module that has to be imported to write a binary file.

csv module

pickle module

unpickle module

random module

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Name the module that has to be imported to write a csv file.

Pickle module

CSV module

csv module

Csv module

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?