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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is the purpose of using functions in Python?
2. What is a common problem that can occur with recursive functions?
3. What programme do we use?
4. What keyword is used in Python to handle exceptions?
5. High-level languages were developed because:
6. What will be the result of the following expression?not (5 > 3)
7. What type of number is 'height = 5.8'?
8. What is the correct way to start a comment in Python?
9. What is Float?
10. What is the output of print(10 == 10)?
11. What software do you use to write a program in Python?
12. What will be the output of print('Hello' + ' World')?
13. How would you convert a string input to an integer in Python?
14. What is the correct way to start a for loop in Python?
15. Library Pandas digunakan untuk .....
16. A person who writes a python program is called a-
17. Which of the following is NOT a valid way to concatenate strings in Python?
18. What does print(10 % 3) output?
19. What is a Python class?
20. In game development, what role can Python play?
21. What is the output of the following code? print(3+5*2)
22. How do you access a value in a dictionary?
23. Name = "teacher kim"new ..... name = nameFollowing variable declaration above, we created how many objects and how many references?
24. Manakah di antara berikut ini yang merupakan tipe data yang dapat diubah (mutable) di Python?
25. Which of the following is used to format strings in Python?