Search Header Logo

J276 OCR CS File Handling

Authored by Mr Abbas

Computers

9th - 11th Grade

Used 7+ times

J276 OCR CS File Handling
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

2.

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

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

see the program and fill in the blank with correct statement.

4.

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()

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

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

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

Fill in the blank with appropriate statement.

7.

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)

Access all questions and much more by creating a free account

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?