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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Alasan utama menggunakan Jupyter Notebook adalah karena .....
2. Which tool is used in the class for writing Python code?
3. What is a variable in programming?
4. What is mentioned as an additional advantage of Python in terms of obtaining, installing, and deploying?
5. What will be the output after the following statements?a = 4*3**2 print(a)
6. What happens if you pass more arguments than the number of parameters in a function?
7. Apa fungsi yang digunakan untuk membaca input dari pengguna di Python?
8. Identify the control structure used in the following code:for i in range(5):print(i)
9. How do you rename a module during import?
10. How can you check for missing values in a Pandas DataFrame df?
11. Which value is an Integer?
12. Mengapa data scientist perlu belajar pemrograman?
13. What will the following code result in:name = "Alison" number = len(name) print(number)
14. What is the order of precedence in python?
15. Select the valid Octal integer literals
16. Loop for disebut counted loop karena .....
17. How is 2 represented in binary?
18. How do you define(assign) variables?
19. Python statements are put into a text file with a ".py" extension. The python interpreter is run, pointed at the file. The program is executed line-by-line and the output is displayed.
20. Which of the following is FALSE about compilers?
21. What is a Boolean value in Python? Give an example.
22. What will be the output of the following code?x = 5y = 2print(x ** y)
23. What is the output of the following Python code? print("2" + "5")
24. What is the purpose of the 'drop()' method in a DataFrame?
25. In the following, x = 7 the x would be considered a(n)