interview

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 »

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 5

Class 12 Computer Science Python Functions MCQs

Python Functions – Working with Functions MCQ’s Multiple Choice Questions [MCQs] Set – 5 81. _______ refers to using an expression as part of a larger expression or a statement as a part of larger statement. a) Function b) Calling of Function c) Composition d) None of these 82. Find the output: a) 2512 b)

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 5 Read More »

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 4

Class 12 Computer Science Python Functions MCQs

Python Functions – Working with Functions MCQ’s Multiple Choice Questions [MCQs] Set – 4 61. Identify the valid rules for combining all three types of arguments. a) an argument list must first contain positional argument followed by any keyword argument. b) Keyword arguments should be taken from the required arguments. c) Value for one argument

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 4 Read More »

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 3

Class 12 Computer Science Python Functions MCQs

Python Functions – Working with Functions MCQ’s Multiple Choice Questions [MCQs] Set – 3 41. When the function call statement must match the number and order of arguments as defined in the function definition, this is called the ___________ matching. a) Positional Arguments b) Default Arguments c) Keyword Arguments d) None of these 42. Which

Class 12 Computer Science Python Functions – Working with Functions MCQs Set – 3 Read More »

You cannot copy content of this page

Scroll to Top