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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following is a mapping type in Python?
2. Name the famous Module used for Web Scraping
3. Write the output of the following:m, n, p = 1, 2, 3; print(m, n, p)
4. What does the for loop do?
5. What is 3 + 2 in Python?
6. Which of the following is a sequence type in Python?
7. How do you draw a half-circle using the turtle library's 'circle' subprogram?
8. What is missing from this line of code? pencolor(red)
9. Which of these is an integer?
10. What is a string in Python?
11. What is the correct way to create an empty list in Python?
12. Who created python language?
13. Which built-in function returns the maximum value in an iterable?
14. How do you import the Pandas library with the alias pd?
15. What will be the output of the following code?x = 1while x < 5:print(x)x = x + 1
16. What is the default Python IDE that comes with Python installation?
17. Struktur data DataFrame memiliki tiga identitas utama, yaitu .....
18. What does the 'for' loop in iteration constructs do when used with a range function?
19. Which of the following variable names is invalid in Python?
20. Computer program that directly executes instructions written in a programming or scripting language. (i.e. Python IDLE)
21. What is the variable in the line of code below? firstname = input( "What is your name?" )
22. High-level languages need to be compiled into machine code before they can be used by a computer.
23. What is an if statement used for?
24. What is self?
25. What will happen if you try to use a reserved keyword as a variable name?