Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 29 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. ..... is a string literal denoted by triple quotes for providing the specifications of certain program elements.
2. What is printed?cheer = "Go Eagles!"print cheer[7:]
3. What is the syntax to check if a value is less than or equal to another value in Python?
4. Choose the correct data type:True
5. What happens if you call your python progam "turtle"
6. Is python is platform independent
7. What does case sensitive mean?
8. Which of the following will give error?Suppose dict1=\{"a":1, "b":2, "c":3\}
9. The spelling and grammar rules of a programming language is called
10. What is the result of [1, 2, 3] + [4, 5, 6] in Python?
11. Which function is used to accept input from the user during the runtime.
12. Numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]numbers [-3]What is numbers [-3]
13. What is the output of this code?click = TrueLike = 0 if click:Like = Like + 1 print(Like)
14. What is printed?cheer = "Go Eagles!"print cheer[1:4]
15. What is the answer to this expression, 22 % 3 is?
16. A set of instructions that is repeated until a condition is reached is
17. Stores True or False
18. In Python, 'Hello', is the same as "Hello"
19. Slicing string X="BOnVoyage" print X[0:5]
20. What does "\t '' make?
21. Which of the following is not a valid namespace?
22. To remove string "hello" from list1, we use which command?
23. Which is true about booleans?
24. How did the pet trade contribute to the python problem?
25. 19 % 2 in python