100+ Text File MCQ Question Bank For Class 12
Text File MCQ Question Bank For Class 12 1. Which of the following command is used to open a file “c:\temp.txt” in read-mode only? a) infile = open(“c:\temp.txt”, “r”) b) infile = open(“c:\\temp.txt”, “r”) c) infile = open(file = “c:\temp.txt”, “r+”) d) infile = open(file = “c:\\temp.txt”, “r+”) 2. Which of the following…