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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What does symbol % do?
2. Which of the following is the correct way to get input from a user in Python?
3. To check if a list contains an item we can use which keyword?
4. What is the output of bool([])?
5. What will print(5 == 5) output?
6. Which is a correct variable name?
7. A Relational operator is also called as .....
8. Which PLS data type represents a sequence of items with the same data type?
9. What will be the output of the following code?x = 10; if x < 5:print("Small"); else:print("Large")
10. If the condition in a loop is false in the first step itself, you get .....
11. What is the purpose of the 'head()' method in a DataFrame?
12. What will be the result of:Print("Hello Earth!")?
13. What is a data type?
14. To store a value in a Python program we can use a(n)
15. How do we communicate with computers in programming?
16. What is an operator?
17. Which of these is the best description of a list in Python?
18. Return statement is mandatory in function definition (T/F)
19. What will type(3.14) return?
20. What is a syntax error?
21. What is the output of the following code? "'pythonprint([2, 4, 6] + [8, 10]) "'
22. Which chapters from Textbook 1 are covered in Module-1?
23. What is the command to read a CSV file into a DataFrame?
24. To remove an item from a list we can use which keyword?
25. What is the result of the following expression in Python:$5 + 3 * 2$