In disk, the files are stored in?
a. Bytes b. Bit
c. Kilobits d. Gigabytes
What is the syntax to close a file?
a. file.close() b. close()
c. close(); d. fileObject.close()
The write() method does not add a newline character (‘\n’) at which position of the string?
a. Beginning b. Middle
c. End d. None of the above
What is the syntax of the write() method?
a. FileObject.write() b. fileObject.write(string)
c. file.object.write() d. file.write()
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here