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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is MicroPython optimized for?
2. What will be the output of the following code? print(type(3.14))
3. Expand IDLE
4. What would happen if your forgot to include a colon at the end of an if statement?
5. What is the result of mistyping a command in Python?
6. Which of the following is a keyword in Python?
7. Which of the following statements will correctly check if a number is even?
8. Select the tuple for which all() returns False.
9. What is a literal?
10. Comment statement in Python is
11. What will the following Python code output?print(2 + 3 * 4)
12. An iterative statement is also known as a ..... statement.
13. Which one is used for division in Python?
14. Python is most popular programming language. Based on the Stack Overflow Developer Survey 2021, which rank is Python in?
15. In programming, what is iteration?
16. In which of the following loop in python, we can check the condition?
17. Which of the following programs will print the 10 most frequently appearing words in a text file?
18. What is the correct syntax for a for loop in Python to iterate over a list called 'my ..... list'?
19. What is the correct way to ask the user for their name in Python and store it in a variable called 'name'?
20. To copy a list that contains other lists we can use which method of the copy module
21. What data type is represented by the value 3.14?
22. What kind of applications can a Python programmer create?
23. In the example program, which Python function is used to get numeric input from the user before casting to float?
24. What is the output of the following Python code? name = "Alex" print("Hello", name)
25. Which of these is a correct string?