MCQ Answer

What does read() do?

What does read() do?

read() क्या करता है?
Topic : File Processing in Python

A. Reads one line

B. Reads all lines into a list

C. Reads entire file as a string

D. Reads one character




Correct Answer is :

C. Reads entire file as a string



Explanation
Without a size argument, read() reads the remaining file content as one string.

Size argument न देने पर read() remaining file content को एक string के रूप में पढ़ता है।
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