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

Quiz Instructions

Select an option to see the correct answer instantly.

1. How do you sort data in SQL?
2. What will be the result of 343 % 15?
3. What will be the output of print('Python' * 2)?
4. Which of the following symbol is used to write a comment?
5. Which of the following is the correct syntax for importing a module in Python?
6. Which of the following will create an empty list?
7. Which type of robots can be controlled by Python?
8. What is a data type in Python?
9. What will be displayed if the user types in "Bob" ?
10. Fill in the blank:The first program you write in Python is often called the .....
11. Which of the following is not used in Python?
12. What is the purpose of setting up a Python environment?
13. What, if anything, is wrong with the following?x=input("Type your password: ")print("You typed", x)
14. What is the programming paradigm of Python?
15. Which of the following tools is used to create virtual environments in Python?
16. Which of these is an INVALID variable name in Python?
17. What is the output of the following code? "'pythondef add(a, b):return a + bprint(add(2, 3)) "'
18. What will be the output of print(10 // 3)?
19. What will print(type(3.5)) output?
20. What are the three common data types in Python?
21. In age = 13, what is the identifier?
22. When designating a variable, if more than one word is used, there needs to be a(n) ..... between the words
23. How do you display text?
24. Read the Python program below:answer = 3 + 13 * 3print("The Answer is", answer)When this program is executed, what will be displayed on the screen?
25. Name a popular library used for data analysis in Python.