MCQ Answer

Identify the correct function call to read first 5 character of the file from the beginning

Identify the correct function call to read first 5 character of the file from the beginning

शुरुआत से फ़ाइल के पहले 5 अक्षर को पढ़ने के लिए सही फ़ंक्शन कॉल की पहचान करें
Topic : File Processing in Python

A. f.read(5)

B. f.read()=5

C. f.readline(5)

D. f.readlines(5)




Correct Answer is :

A. f.read(5)



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