Python Learn Simpli September 6, 2019 no Comments 1. Which is not iterable Objects in Python among following options ? Dictionary String Number None 2. What is meant by self in Python? It is a class attribute. It is reference to object which calls an instance method. It is a built-in function in python It is a keyword. None 3. Which statements is not true in the following options? Indent length may vary for each block None Statements in a block must have same indent level. Each block must have same indent level. None 4. Which string is not a valid aces mode for opening a file in simultaneous read/write mode in following options? w+ r+ rw wb+ None 5. which of following answer is true about __init__() method? All of the above It is a magic method It is a constructor It calls __new__() method None 6. Which is an incorrect syntax in the following answers? from module import function import module import function from module None 7. Which is TRUE about Python function among following answers? All of above Function can return another function. It is a first order object. It can be passed to another function as argument. None 8. What is ‘global’ in Python? Built-in function Keyword none Built-in module None 9. What cannot be a part of Python module? Class Function none Keyword None 10. which of the following keyword(s) used along with ‘else’ clause in Python try all of the above while if None Time's up