Match List-I with List-II :
|
List-I |
List-II |
||
|
(A) |
readline() |
(I) |
Writes a sequence of strings to the file |
|
(B) |
writelines() |
(II) |
Reads a single line from the file |
|
(C) |
seek() |
(III) |
Force any buffered output to be written to the file |
|
(D) |
flush() |
(IV) |
Moves the file pointer to the specified position |
Choose the correct answer from the options given below:
1
(A) - (I), (B) - (II), (C) - (III), (D) - (IV)
2
(A) - (II), (B) - (I), (C) - (IV), (D) - (III)
3
(A) - (II), (B) - (I), (C) - (III), (D) - (IV)
4
(A) - (III), (B) - (IV), (C) - (I), (D) - (II)