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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following statements is true about Python lists?
2. Which of the following is the correct way to convert a string '"25"' to an integer in Python?
3. What is the file format of Jupyter Notebook(Google Colab)?
4. What is the purpose of the requestString() function?
5. How do you create a variable in Python?
6. What is an error?
7. Which of the following is a loop in Python?
8. What is the data type of L if L = [1, 'Python', 2.5]?
9. How can you import only specific functions from a module?
10. Example of valid identifiers
11. Which function is used to convert a number to a string in
12. What is a programming language?
13. Which line correctly converts a string to an integer?
14. Which of the following is a valid way to comment in Python?
15. What happens when you type print("3" + "4")?
16. What is Python described as?
17. What does the following code display?a = 1b = 2print(a + a)
18. What is the output of the following code? "'pythonprint(len("Python")) "'
19. Which of the following is NOT a programming paradigm supported by Python?
20. Which of the following is a boolean value in Python?
21. To repeat a task many times, we use a:
22. What is syntax in programming?
23. Which of the following is NOT a logical operator in Python?
24. Define the term syntax error
25. Which data type represents a whole number?