J276 OCR CS File Handling

J276 OCR CS File Handling

9th - 11th Grade

15 Qs

quiz-placeholder

Similar activities

ONE 6th FORM File Handling

ONE 6th FORM File Handling

11th Grade

20 Qs

IGCSE ICT Ch 11

IGCSE ICT Ch 11

6th - 10th Grade

20 Qs

File Extensions

File Extensions

5th - 9th Grade

10 Qs

Reading & writing to a text file (Python)

Reading & writing to a text file (Python)

9th - 12th Grade

14 Qs

Python List Operations

Python List Operations

10th Grade

10 Qs

Computer Applications

Computer Applications

9th - 12th Grade

20 Qs

File Handling in Python

File Handling in Python

11th - 12th Grade

10 Qs

Data Representation

Data Representation

9th Grade

20 Qs

J276 OCR CS File Handling

J276 OCR CS File Handling

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Created by

Mr Abbas

Used 7+ times

FREE Resource

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)

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?