Page 1 :
ea Viandavi Classes, , A unit of Mandavi Edu tech pvt.ltd, atr-PRgIFA FGA, , , , MC estion Based Basic Python, , 1. Who developed Python Programming Language?, a) Wick van Rossum, b) Rasmus Lerdorf, c) Guido van Rossum, d) Niene Stom, 2. Which type of Programming does Python support?, a) object-oriented programming, b) structured programming, c) functional programming, d) all of the mentioned, 3. _ Is Python case sensitive when dealing with identifiers?, a) no, b) yes, c) machine dependent, d) none of the mentioned, 4. Which of the following is the correct extension of the Python file?, a) python, b) .pl, c) py, d).p, 5. Is Python code compiled or interpreted?, a) Python code is both compiled and interpreted, b) Python code is neither compiled nor interpreted, c) Python code is only compiled, d) Python code is only interpreted, 6. All keywords in Python arein, a) Capitalized, b) lower case, c) UPPER CASE, d) None of the mentioned, 7. Which of the following is used to define a block of code in Python language?, a) Indentation, b) Key
Page 2 :
c) Brackets, d) All of the mentioned, 8. Which keyword is used for function in Python language?, , a) Function, , b) Def , , c) Fun i \ f, d) Define, , 9. Which of the following character is used to give » comments in Python?, , mm ££. 6%, , asian will be the output of the following Python code snippet if x=1?, 21. ucc2, 12.a)4, , b)2, , c)1, , djs, 13.Which of the following is true for variable names in Python?, , a) underscore and ampersand are the only two special characters allowed, Dunintediegth, , c) all private members must have leading and trailing underscores, 3) none of te mentioned =a, , 14,. Which of the following is not a core data ee nag eae in Python programming?, a) Tuples, b) Lists ‘, c) Class — F, d) octane ee all Se, 15. In which year was the Python language developed?, a) 1995, b) 1972, co) 1981, d) 1989, , , , , er se, 16. Which of the following statements is correct regarding the object-oriented programming, concept in Python?, , Classes are real-world entities while objects are not real SO OO, b, Objects are real-world entities while classes are not real, , c. Both objects and classes are real-world entities, , d, All of the above
Page 3 :
17.4 is a name that is associated with a value., , a. identifier, b, keyword, c. variable, d, None of these Ba., 18. Which of the following is correct about Python? ™, a. Python is a high-level, interpreted, interactive and object-oriented language. —__, , , , , , b. Python is designed to be highly readable. i, , c. It uses English keywords frequently and has fewer syntactical constructions., , d. All of the above. _*, 19.in Python an identifier is, , a. Machine De, , b. Keyword