ONE 6th FORM File Handling

ONE 6th FORM File Handling

11th Grade

20 Qs

quiz-placeholder

Similar activities

Getting Started with MS Office

Getting Started with MS Office

7th - 12th Grade

19 Qs

Records and Files

Records and Files

8th - 11th Grade

15 Qs

File Management, NTFS Permissions, & Using the Command Line

File Management, NTFS Permissions, & Using the Command Line

9th - 12th Grade

17 Qs

General ICT Questions (Part 1)

General ICT Questions (Part 1)

5th - 12th Grade

20 Qs

Basic File Handling Operations Quiz

Basic File Handling Operations Quiz

11th Grade

22 Qs

SLR4 | Data Structures with C# Examples

SLR4 | Data Structures with C# Examples

11th Grade

16 Qs

Logo Creation in Photopea

Logo Creation in Photopea

7th Grade - University

15 Qs

Database Management Tools

Database Management Tools

9th - 12th Grade

20 Qs

ONE 6th FORM File Handling

ONE 6th FORM File Handling

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Lorna Jarrett

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file execute faster?

Text file

Binary file

CSV file

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.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code myfile=open(“taxes.txt”) perform

opens the taxes.txt in default read mode.

opens the taxes.txt in default write mode.

opens the taxes.txt in default append mode.

opens the taxes.txt in default read and write mode.

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.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to write multiple lines in text file?

write()

writelines()

lines()

print()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Select the statement to open a file named MYDATA.dat in read binary mode. Let the file object name be myfile.

myfile=open("MYDATA.dat","rb")

myfile=open("MYDATA.dat","r+")

myfile=open("MYDATA.dat","r")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a basic file handling operation?

Read

Write

Open

Execute

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?