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

Quiz Instructions

Select an option to see the correct answer instantly.

1. To display output on the screen python uses
2. What will be the output of the following code? print(5 == 5)
3. How do you sort data in SQL?
4. What will be the result of 343 % 15?
5. Which of the following symbol is used to write a comment?
6. Which of the following is the correct syntax for importing a module in Python?
7. Which of the following will create an empty list?
8. Which type of robots can be controlled by Python?
9. What is a data type in Python?
10. What will be displayed if the user types in "Bob" ?
11. Fill in the blank:The first program you write in Python is often called the .....
12. Which of the following is not used in Python?
13. What is the purpose of setting up a Python environment?
14. What, if anything, is wrong with the following?x=input("Type your password: ")print("You typed", x)
15. What is the programming paradigm of Python?
16. Which of the following tools is used to create virtual environments in Python?
17. Which of these is an INVALID variable name in Python?
18. What is the output of the following code? "'pythondef add(a, b):return a + bprint(add(2, 3)) "'
19. What will be the output of print(10 // 3)?
20. What will print(type(3.5)) output?
21. What are the three common data types in Python?
22. In age = 13, what is the identifier?
23. When designating a variable, if more than one word is used, there needs to be a(n) ..... between the words
24. How do you display text?
25. 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?
26. Name a popular library used for data analysis in Python.
27. What does symbol % do?
28. Which of the following is the correct way to get input from a user in Python?
29. To check if a list contains an item we can use which keyword?
30. What is the output of bool([])?
31. What will print(5 == 5) output?
32. Which is a correct variable name?
33. A Relational operator is also called as .....
34. Which PLS data type represents a sequence of items with the same data type?
35. What will be the output of the following code?x = 10; if x < 5:print("Small"); else:print("Large")
36. If the condition in a loop is false in the first step itself, you get .....
37. What is the purpose of the 'head()' method in a DataFrame?
38. What will be the result of:Print("Hello Earth!")?
39. What is a data type?
40. To store a value in a Python program we can use a(n)
41. How do we communicate with computers in programming?
42. What is an operator?
43. Which of these is the best description of a list in Python?
44. Return statement is mandatory in function definition (T/F)
45. What will type(3.14) return?
46. What is a syntax error?
47. What is the output of the following code? "'pythonprint([2, 4, 6] + [8, 10]) "'
48. Which chapters from Textbook 1 are covered in Module-1?
49. What is the command to read a CSV file into a DataFrame?
50. To remove an item from a list we can use which keyword?
51. What is the result of the following expression in Python:$5 + 3 * 2$
52. Why is Python considered easy to learn?
53. Which of the following will print the text Python Programming on the same line?
54. What is the purpose of saving your Python program?
55. Choose the keyword from the following
56. Is Python free software?
57. Which of the following is a mutable data type in Python?
58. What does 'if ..... name ..... == " ..... main ..... ":' do?
59. Which function is used to display output in Python?
60. Which of the following is TRUE about Python?