This quiz works best with JavaScript enabled. Home > Class 11 > Class 11 Computer Science Chapter 9 Practical Work Python Exercises – Quiz 10 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 10 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Which programming language influenced the creation of Python? A) ABC. B) 123. C) XYZ. D) Java. Show Answer Correct Answer: A) ABC. 2. What does t.forward(300) do? A) Moves in the direction it is facing 300 steps. B) Moves down the screen 300 steps. C) Moves up the screen 300 steps. D) None of the above. Show Answer Correct Answer: A) Moves in the direction it is facing 300 steps. 3. What is correct code for INTEGER in python? A) In. B) Ing. C) Int. D) None of the above. Show Answer Correct Answer: C) Int. 4. Which keyword marks a spot in a function where the program flow will go back to the calling code? A) Break. B) Return. C) Continue. D) Jump. Show Answer Correct Answer: B) Return. 5. Un conjunto de comandos conocidos se les denomina ..... A) Una lista de maquina. B) Una lista de instrucciones. C) Una lista de bajo nivel. D) None of the above. Show Answer Correct Answer: B) Una lista de instrucciones. 6. A character that is controlled by a program through code is referred to as a A) Animal. B) Sprite. C) Person. D) Dojo. Show Answer Correct Answer: B) Sprite. 7. What is the process of converting one datatype to another called? A) Data conversion. B) Type Casting. C) Type Conversion. D) Concatenation. Show Answer Correct Answer: B) Type Casting. 8. What will be the output of this code?x = 13y = 14if x!=y:print("Hello")else:print("Hi") A) Hello. B) Hi. C) 14. D) 13. Show Answer Correct Answer: A) Hello. 9. 4 == 4.0 A) True. B) False. C) Error. D) None of the above. Show Answer Correct Answer: C) Error. 10. Variables are A) Any valid set of values, variables, operators and functions that produce a value or result. B) Unpredictable sequences of numbers evenly distributed over a certain range. C) A sequence of characters, which can include letters, numbers, symbols, punctuation and spacing. D) Named values that can change. Show Answer Correct Answer: D) Named values that can change. 11. What is the result of following Program in python3if(32%2==0):print("32")else:print("2") A) 2. B) 32. C) Error. D) None of the above. Show Answer Correct Answer: B) 32. 12. Which if the values below is a char data type? A) FirstValue. B) F. C) 1.0. D) 10 > 3. Show Answer Correct Answer: B) F. 13. Lists are? A) Mutable. B) Immutable. C) All the above. D) None of the above. Show Answer Correct Answer: A) Mutable. 14. Str="world of python programming" str+=" store" print(str) A) World of python programmingstore. B) World of python programming store. C) World of python programming store. D) World of python programming store. Show Answer Correct Answer: B) World of python programming store. 15. Create a variable named x and assign the value of integer 50 to it A) X="50". B) X:50. C) "x"=50. D) X=50. Show Answer Correct Answer: D) X=50. 16. Select the correct answer:x = 15y = 4print('x ** y =', x**y) A) 50625. B) 45658. C) 50621. D) 50254. Show Answer Correct Answer: A) 50625. 17. Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)? A) 3. B) 5. C) 1. D) 25. Show Answer Correct Answer: C) 1. 18. If you type print("4"+"9") what result would you get A) 49. B) 13. C) Error. D) 0. Show Answer Correct Answer: A) 49. 19. What is the output of program below?mariana ..... islands = ['Saipan', 'Tinian', 'Rota']mariana ..... islands.insert(0, 'Guam')print(mariana ..... islands) A) ['Saipan', 'Tinian', 'Rota']. B) ['Guam', 'Tinian', 'Rota']. C) ['Saipan', 'Tinian', 'Rota', 'Guam']. D) ['Guam', 'Saipan', 'Tinian', 'Rota']. Show Answer Correct Answer: D) ['Guam', 'Saipan', 'Tinian', 'Rota']. 20. Python uses indentation to block code into chunks A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 21. What will be the output from the following code?print("Hello" + "World") A) Hello, World. B) "Hello" + "World". C) Hello World. D) HelloWorld. Show Answer Correct Answer: D) HelloWorld. 22. Which of the following is not an advantage of using modules? A) Provides a means of reuse of program code. B) Provides a means of dividing up tasks. C) Provides a means of reducing the size of the program. D) Provides a means of testing individual parts of the program. Show Answer Correct Answer: C) Provides a means of reducing the size of the program. 23. Which method is used to delete a value from the list and display it also? A) Del(). B) Pop(). C) Popshow(). D) Remove(). Show Answer Correct Answer: B) Pop(). 24. Which logical operator is used to negate a condition? A) Not. B) Or. C) And. D) Xor. Show Answer Correct Answer: A) Not. 25. A programming statement that allows a block of code to be repeated for a given range of values defines A) Function. B) While loop. C) For loops. D) Applications. Show Answer Correct Answer: C) For loops. ← PreviousNext →Related QuizzesClass 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 1Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 2Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 3Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 4Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 5Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 6Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 7Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 8Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 9Class 11 Computer Science Chapter 9 Practical Work Python Exercises Quiz 11 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books