Explore topic-wise MCQs in Python.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the use of a in file handling?

A. Read
B. Write
C. Append
D. None of the mentioned
Answer» D. None of the mentioned
2.

What is the use of w in file handling?

A. Read
B. Write
C. Append
D. None of the mentioned
Answer» C. Append
3.

In file handling, what does this terms means r, a ?

A. read, append
B. append, read
C. write, append
D. none of the mentioned
Answer» B. append, read