Skip to content
#1. In file handling, what does this terms means ‘r’,’a’?
#2. In Inheritance, new class is called _______ class.
#3. The one from which it inherits is called the ____ class.
#4. Which function is used to read all the characters?
#5. _______ class inherits from the base class, adding new features to it.
#6. To open a file c:scores.text for writing, we use
#7. Inheritance results into ______ of code.
#8. What is the type of int?
#9. _________ means having two methods with the same name but doing different tasks.
#10. Python supports the creation of anonymous functions at runtime, using a construct called __________
#11. A class can be derived from more than one base classes in python is called ____________ inheritance.
#13. We can inherit form a derived class is known as _________ inheritance.
#14. Which are the advantages of functions in python?
#15. _______ create a structure that can take or use many forms of objects.
#16. Suppose list1 is [3,5,25,1,3] what is min(list1)?
#17. In python, that allows same operator to have different meaning according to the context is called ___________ overloading.
#18. Suppose list1 is [3,5,25,1,3], what is max(list1)?
#19. Python does not limit operator overloading to _______ operators only.
#20. What is the default value of encoding in encode() windows?
#21. How are variable length arguments specified in the function heading?
#22. Which function is used to write all the characters?
#23. To open a file c:scores.txt for appending data, we use
#24. ________ exceptions are raised as a result of an error in opening a particular file.
#25. Which of the following aren’t defined in the math module?