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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which programming language would a professional programmer be most likely to use in their jobs?
2. Which of the following is a method to remove an element from a dictionary in Python?
3. Which one is a string in Python?
4. What is a logic error?
5. What is the output of print("Python is fun")?
6. What is a punctuator?
7. What will this program do?print("Hello world")
8. Who developed the Python language?
9. Operators of same precedence are executed from .....
10. Which symbol is used for 'not equal to' in Python?
11. What is the default return type of the input() function?
12. How do you correctly name the rules of a programming language?
13. What is the purpose of 'else' in an 'if-else' statement?
14. Which of these is used to repeat actions?
15. Which of the following statements will display the temperature in Celsius entered by the user?
16. In programming, a LIBRARY is a set of important functions and methods that you can access to make your programming easier
17. In which situation would you prefer recursion over iteration?
18. A=1a, b=a+1, a+1print(a, b)a, b=a+2, a+3print(a, b)
19. High and low-level programming languages can be understood by a computer.
20. A testing environment that users can test code, run programs or files without impacting the system, application, or machine used.
21. What should you do every time you make a change to your Python program?
22. Which of the following is a correct way to take input from a user in Python?
23. What is the correct extension for python files?
24. Which of the following is used to display output in Python?
25. What will be printed by the following code? "'pythonx = 5y = "5"print(x + int(y)) "'