Check your knowledge on Python File Handling. A free online quiz (test) for all level programmers. At the end of quiz you can see the result and correct answers.
There is leaderboards to see, where you stand in the competitions.
Python File Handling Quiz
0 of 10 questions completed
Python File Handling to test your knowledge – ( Create, Open, Update, delete and more about in Python)
It’s for Beginners, Advanced and Experienced Programmers.
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 have to finish following quiz, to start this quiz:
0 of 10 questions answered correctly
Time has elapsed
You have reached 0 of 0 points, (0)
|Table is loading|
|No data available|
Question 1 of 10
Which of the following command is used to open a file “c:\textFile.txt” in read-mode only?Correct
Question 2 of 10
Which functions use to check if a file exists?
File name = “logo”Correct
Question 3 of 10
How do you insert something on a new line in a file?Correct
Question 4 of 10
Appending to a file means adding extra data into the file.Correct
Question 5 of 10
What is the last action that must be performed on a file?Correct
Question 6 of 10
What is the data type of data read from a file?Correct
Question 7 of 10
Can you create a file without using file modes in Python?Correct
Question 8 of 10
Reading from a file often involves using…Correct
Question 9 of 10
Which of the following statements are true regarding the opening modes of a file?Correct
Question 10 of 10
Which of the following commands option right to read the entire contents of a file as a string using the file object