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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is Python named after?
2. Identifier name can be of maximum ..... character
3. How do you concatenate the strings '"Good"' and '"afternoon"' in Python?
4. Which value is a String?
5. Keyword apa yang digunakan untuk mendefinisikan sebuah fungsi di Python?
6. The List Data Type, Working with Lists, and Augmented Assignment Operators are covered in which module?
7. Which if the following is a disadvantage of Python?
8. Manakah di antara berikut ini yang merupakan nama variabel yang valid di Python?
9. What will be the output of the following lambda function?add = lambda a, b:a + bprint (add (3, 4) )
10. How do you define a floating point number in Python?
11. Which of the following is not a valid way to define this dictionary in Python:
12. The two major versions of Python are:
13. What is the output of the following code? "'pythonx = "Python"y = "Programming"print(x + '' '' + y) "'
14. A ..... tool creates exact copies of your files to be restored later in case of data loss.
15. Stores a piece of data, and gives it a specific name
16. Which of the following is not a feature of Python language?
17. What is the correct syntax for an if statement in Python?
18. How do you declare a variable in Python?
19. What is a notable characteristic of Python code?
20. What will be the output of print(type(12.0)) in Python?
21. Bagaimana cara membuat variabel dalam Python?
22. What is the output of:print(3 * 'A')?
23. ..... method is used to find the data type of a variable.
24. False is an example of what data type?
25. Which of the following can not be used as an identifier?