Class 11 Computer Science Chapter 2 Introduction To Python Quiz 62 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. Code for257Hello, World!
2. What is the output of the following code? "'pythonprint(type(42)) "'
3. A computer program is best described as:
4. What is the significance of Python's readability?
5. Which of the following best describes the output of a program that reads student details (Name, USN, Marks in three subjects) and displays the student details, total marks, and percentage with suitable messages?
6. Name one use case of Python.
7. To stop the turtle drawing you need to use which of the following commands?
8. What is the correct way to create a variable in Python?
9. Module-2:Dictionaries and Structuring Data are covered in which chapters of Textbook 1?
10. Where can you download PyCharm?
11. Why is Python called Python?
12. Which one of the following is the correct extension of the Python file?
13. What is the purpose of syntax in text-based programming languages?
14. A location in memory used to store data that can be changed.
15. Python is a text-based programming language
16. Which of the following is an assignment operator in Python?
17. The second part of if, that is executed when the condition is false
18. What will be the value of 'x' after executing the following code? "'pythonx = 5x = x + 2 "'
19. This data type is used to store whole numbers
20. What does the double-slash // do in Python?
21. What is the result of the following expression:$7 // 2$
22. B = 24a = 10print(a, b)When this program is executed, what will be displayed on the screen?
23. What is the output of print('OK')?
24. What is recursion in programming?
25. What is the output of the following code? print(type(3.14))