12th Class Computers Science Sample Paper File Handling - Sample Paper-1

  • question_answer
    readlines() reads the entire file at a time.

    A) True     

    B) False

    C) None of these

    D) All of the above

    Correct Answer: A

    Solution :

    [a] Yes, readlines() reads the entire file at a time and returns all lines as a list. 


You need to login to perform this action.
You will be redirected in 3 sec spinner