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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Python is
2. What data type is used to represent whole numbers in Python?
3. A program written in a high-level language is called ..... code
4. What is the output of the expression 20-7 in Python?
5. How do you call a function named hello()?
6. What type of loop is a 'while' loop in repetition constructs?
7. What is a statement in programming?
8. The punctuation requirements for printing a string in Python are:
9. For i in range(-3), how many times this loop will run and print the next statement?
10. Which of the following is a correct for loop in Python to iterate over a list called numbers?
11. Which statement about computer memory is correct?
12. What is the purpose of PyCharm?
13. The shortcut for integer is ..... ?
14. What does the print() function do?
15. What is the correct way to get input from a user?
16. What does Python's "interpreted language" feature mean?
17. What is the difference between '==' and '!=' in Python?
18. What does the logical/Boolean operator 'and' do?
19. Print(~~~~~5)
20. This operator means that one value is the same as the other value
21. What is the minimum passing mark for the Continuous Internal Evaluation (CIE) as a percentage of the maximum marks?
22. Is a, b = 6 statement will return an error (T/F)
23. What is a tuple in Python?
24. What will be the output of the following code? "'pythonprint(7 + 3 * 2) "'
25. What would print (10 + 16) produce?