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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Print("What's your favourite food?") food = input() print("I've never tried", food)When this program is executed, what will be displayed on the screen, as a result of executing line 3?
2. What is the purpose of the task:distance = user INPUT(), time = user INPUT(), speed = distance / time, OUTPUT:The speed of travel is + speed + m/s?
3. "True" is an example of what data type?
4. Which operator is used to concatenate two strings in Python?
5. What is a module in Python?
6. Who is the creator of Python?
7. What is an error in Python?
8. What symbol is used to create a dictionary in Python?
9. Which of the following statements is true about comments in Python?
10. X, y=3, 7print(x, y)
11. Keyword check:In the statement age = 13, what is the identifier?
12. Which function takes a users input
13. How do you make the turtle draw a circle?
14. A code that does a specific task is called a-
15. What is a Series in Pandas?
16. Which method is used to start the Tkinter event loop?
17. What does the 'break' statement do in a loop?
18. Computers understand the language of 0s and 1s which is called .....
19. Which programming language uses visual block coding?
20. What type of loop is most appropriate to use when you know exactly how many times you want the code block to execute (e.g., iterating through a list or using a range)?
21. Which of the following best describes a programming language?
22. What is the result of the expression 15 / 3 in Python?
23. Num = 90Num = 20print(Num)
24. What is the main emphasis of Python?
25. What is the syntax error with this code:print( "Hello World" );