MCQ Answer

Which of the following is not a correct mode to open a file ?

Which of the following is not a correct mode to open a file ?

फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
Topic : File Processing in Python

A. ab

B. rw

C. a+

D. r+




Correct Answer is :

B. rw



Explanation
ab: append in binary format a+ : append and read mode r+: read and write mode, but "rw" is incorrect mode for opening a file in Python
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad