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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What data type is used to represent true or false values in Python?
2. Which function is used to get input from the user in Python?
3. Python was named after the British television show, .....
4. Which of these is correct in Python?
5. What is the radius of the circles used to draw a slinky?
6. If you have a syntax error will the code run?
7. What is the purpose of the 'input()' function in Python?
8. What is the purpose of the 'break' statement in a loop?
9. How do you start a function in Python?
10. What is the output of print('I will become a Python Pro')?
11. What is the mode available in Python?
12. How to insert elements at the last in list?
13. Which statement about sequential condition checking is correct?
14. What is a run time error?
15. Why is indenting used?
16. How many libraries are available for Python?
17. What is the type of []?
18. The function used to find the length of a string is:
19. What does the following loop do?for i in range(3):print(i)
20. Which of the following statements will print "Hello, World!" to the console in Python?
21. The process of linking one thing to another
22. An application that contains all the necessary tools needed to write a program is called:
23. How many tests are conducted for the theory component of the IC and what is the mark for each test?
24. Which symbol is used for comments in Python?
25. The result of this code is print ("Welcome to programming")