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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following statements will correctly assign the value "blue" to a variable called 'colour'?
2. What is the output of the following code? "'pythonprint(12 / 4) "'
3. Which function is used to convert a float to a string in Python?
4. List items have an index number. In the following list, which item has the index number of 3?["John", "Harry", "Jesse", "John", "Harry", "Harry"]
5. What does the statement 'print' do?
6. TRUE or FALSE:Python is a high level language
7. Which of the following is a built-in data structure in Python?
8. Which programming concept is implemented in Python as per the course objectives?
9. What will be the output of the following code? "'pythonprint(7 + 3.5) "'
10. Who might use Python to make websites?
11. When you have an error in your code what is the term to summarise finding and fixing that error?
12. Which of the following is immutable (values that cannot be changed)?
13. What is one advantage of Python's syntax?
14. Suppose listExample is ['h', 'e', 'l', 'l', 'o']what is len(listExample)?
15. By default, the Python scripts are saved in .....
16. Who developed Python programming?
17. Which of the following is a valid way to create a dictionary in Python?
18. Can we add backdrops and sprites from the internet or our device?
19. What will be the output of the following code? "'pythonprint("The temperature is", 20, "degrees Celsius.") "'
20. Which arithmetic operator would you use to find the product of two numbers?
21. Which of the following is used to check the identity of two objects in Python?
22. Which of the following is a valid way to define a function in Python?
23. Which of these is a string?
24. Variables in python are case sensitive?
25. What does the keyboard shortcut CTRL+Z do?