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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Numbers = [1, 2, 3, 4, 5]Which of the following code changes the element 4 to 9
2. Select the correct operator for division:
3. Which if the values below is a float data type?
4. Which kind of loop would be used?I need a guessing game program that will let me keep guessing until I get the right answer.
5. Cleave = hero.isReadyToCleave( )
6. What will be displayed to the screen when the following code runs? esport = "Galaga" for letter in esport:print(letter + " ..... ", end="")
7. Which of the following symbols is used in Python to mean "Greater than or equal to" ?
8. Find the output of the following code:>>>str1='Save Soil'>>>str1.isalnum( )
9. Which character must be at the end of the line for if?
10. It is possible to execute both the (block of) statements under if and the else clauses at the same time.
11. If you want to create an empty list called islands, which of the following pieces of code is correct?
12. Given a list named "esports", which of the following statements will access only the first and second items in that list?
13. An ordered set of values between a known start and end value is the
14. If I use the command right(180), which way will Tracy turn?
15. What error occurs when you execute?apple = mango
16. What will be the output of the following Python function? all([2, 4, 0, 6])
17. Notes that explain to others what each part of your program does.
18. This operator means that one value is not equal to another value
19. Give the output of the following statements>>> str='Hello World'>>>str.istiltle()
20. What is the answer to this expression, 22%3 is
21. What is the significance of the name 'Python'?
22. Which commands would draw a square
23. What is used to separate elements in a list?
24. Which operator performs an addition?
25. Fill in the blank if a> b:print("True") ..... :print("False")