File Handling - Grade XII

File Handling - Grade XII

12th Grade

15 Qs

quiz-placeholder

Similar activities

Internet & Communications

Internet & Communications

11th - 12th Grade

12 Qs

TIK (Microsoft Word)

TIK (Microsoft Word)

4th Grade - University

20 Qs

ASJ XI 22

ASJ XI 22

12th Grade - University

20 Qs

TEKNOLOGI DAN KOMUNIKASI TAHUN 5

TEKNOLOGI DAN KOMUNIKASI TAHUN 5

10th - 12th Grade

10 Qs

LATIHAN SIMDIG

LATIHAN SIMDIG

9th - 12th Grade

20 Qs

Computer Systems Servicing G12- 2nd Sem-Midterm Exam

Computer Systems Servicing G12- 2nd Sem-Midterm Exam

12th Grade

15 Qs

Database Concepts

Database Concepts

11th - 12th Grade

15 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

File Handling - Grade XII

File Handling - Grade XII

Assessment

Quiz

Computers

12th Grade

Hard

Created by

M jenira

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mode in the following program to open file for writing in a mode where new data will be added at the end of old data


file =open("poem.txt","__")

r

a

w

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct statement to close a file stream named myfile:

myfile.terminate()

myfile.end()

myfile.close()

myfile.remove()

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

See the following code snippet and fill in the blank with appropriate statement

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

Fill in the blank with appropriate statement.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which function is used to read records from a binary file?

pickle.load(f)

pickle.read()

pickle.open()

pickle.dump(l,f)

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

Write the appropriate statement in the blank.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement(s) is/are true to open a binary file "Record.dat" for reading and writing.

file =open("Record.dat","wb")

file =open("Record.dat","rb")

file =open("Record.dat","ab")

file =open("Record.dat","rb+")

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?