0 of 12 questions completed
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 12 questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
You have the potential to do better! 🙂
If you found a concept confusing on this page then please leave a comment below asking for clarity.
Try re-reading the tutorial on this page before you retake this quiz!
Good work on clearing this quiz!
Outstanding work! You have mastered this lesson. Onward to the next one!
State whether the following statement is true or not – “r+ mode opens a file in both read and write mode” ?
If a file is opened in “a” append mode where does the file pointer points?
What is the correct syntax of open() function?
Which of the following command is used to open a file “c:/temp.txt” in append-mode?
Which of the following statements are true regarding the opening modes of a file? (2 correct options)
If a file is opened in “r” read mode where does the file pointer point?
Which of the following is the correct options of compulsory modes when you’re opening a file?
Out of the 4 compulsory modes ( r, w, a, x) , how many can you choose while opening a file?
“+” is said to be an optional mode when opening a file. This allows you to read and write to a file. How do you combine “+” with other modes?
What happens when you combine the + mode with read mode (r+) ?
What happens when you combine the + mode with write mode (w+) ?
What happens when you combine the + mode with append mode (a+) ?