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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following translators do not produce an object file?
2. Which one is a list?
3. What is the result of 'type("Hello")' in Python?
4. What is the output of the following code:print(int(3.14))?
5. What is the purpose of tracing variables in a program?
6. Which of the following statements will print the data type of the variable 'a'?
7. Which of the following is a feature of Python?
8. What is the correct way to start a while loop?
9. What will print(type(age)) return if age = 25?
10. What does a Python program do?
11. What is the name of the binary code (0s and 1s) that a CPU directly understands?
12. What is the difference between 'break' and 'continue' statements?
13. Which one of these is a loop in Python?
14. Which of the following is a valid for loop in Python?
15. What is Python known for?
16. Which of the following is a valid data type in Python?
17. Str1="poWer"str1.upper()print(str1)
18. Which of the below operators can be used to compare two numbers
19. What is a list in Python?
20. What data type is the value 'True' in Python?
21. What is the process illustrated in the course objectives?
22. What must you do to correctly communicate a command to Tracy?
23. What is the difference between a list and a tuple?
24. What kind of language does a computer understand?
25. What is the output of the expression 'Hello' * 3?