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

Quiz Instructions

Select an option to see the correct answer instantly.

1. In Python we can get a part of a list with a
2. Which of the following translators converts high level language into low level language atonce?
3. What is the data type of the variable 'x' when 'x = 3.14' in Python?
4. Which tool can be used to write and run Python code?
5. What is the result of the following operation in Python:my ..... list = [1, 2, 3] followed by my ..... list.append(4)?
6. By default, the Python scripts are saved with ..... extension.
7. What is the input name for 'true/false' inputs?
8. How do you check if your age is above 18 or not
9. Salah satu alat yang dapat digunakan untuk menulis kode Python adalah .....
10. In the statement 'x = 5', what is '5'?
11. Which built-in function is used to write output to the screen?
12. Which of the following is invalid variable name?
13. Which symbol is used for multiplication in Python?
14. Write the output of the following code:a=9; x=str(a); b=5; y=str(b); x+y
15. What is the output of the following code? number = int("10") + 5 print(number)
16. You have to buy Python.
17. What will be the output of the following code? "'pythonname = input("Enter your name: ")print("Hello, ", name) "'
18. What is the significance of the '#' symbol in Python?
19. What is the purpose of arithmetic expressions in programming?
20. Which keyboard key is used to run Python programs?
21. What is the significance of human-readable code in programming?
22. What is the result of the expression 3 + 5 * 2 in Python?
23. What will be the output of the following code? print("My favourite colour is '' + "blue")
24. What will be the output of the following code?x = 10y = 3print (x % y)
25. What is the output of the following code:print(5 + 3)?