python file handling mcqs

Class 12 Computer Science File Handling in Python MCQs Set 9

File Handling in Python MCQ's

Python File Handling File Handling in Python MCQ’s Set – 9 Multiple Choice Questions Directions (Q.No 161-166) : Solve the question 161 to 166, to complete the function CountRec() A file “STUDENT.DAT” has structure (admission_number, Name, Percentage). A function countrec() in Python that would read contents of the file “STUDENT.DAT” and display the details of […]

Class 12 Computer Science File Handling in Python MCQs Set 9 Read More »

Class 12 Computer Science File Handling in Python MCQs Set 6

File Handling in Python MCQ's

Python File Handling File Handling in Python MCQ’s Set – 6 Multiple Choice Questions Answer Que Number 101 to 105 on the basis of given instructions and code. Your teacher has given you a method/function FilterWords() in python which read lines from a text file NewsLetter.TXT, and display those words, which are lesser than 4

Class 12 Computer Science File Handling in Python MCQs Set 6 Read More »

Class 12 Computer Science File Handling in Python MCQs Set 3

File Handling in Python MCQ's

Python File Handling File Handling in Python MCQ’s Set – 3 Multiple Choice Questions 41. The default file-open mode is ___________. a) read b) write c) append d) None of these 42. Write a command to open a file named “mybio.txt” in write mode? a) fileobject = open (“mybio.txt”, “w”) b) fileobject = open(“mybio.txt”) c)

Class 12 Computer Science File Handling in Python MCQs Set 3 Read More »

You cannot copy content of this page

Scroll to Top