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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following is a built-in function in Python?
2. ..... are written with a decimal point that seprate the integer from the fractional number.
3. What is data input?
4. What type of programming language is Python classified as?
5. What is the purpose of combining variables in Python?
6. What does len() do?
7. Apa ekstensi file yang benar untuk file Python?
8. Whitespace adalah .....
9. Who developed Python programming language?
10. What is the output of print('Python' * 2)?
11. Computer languages that are designed to be used and understood by humans are .....
12. What file extension do Python programs have?
13. Which statement creates an empty set in Python?
14. How do you create a list in Python?
15. The CIE marks for the theory component of the IC shall be ..... marks and for the laboratory component ..... marks.
16. What is Python's logo?
17. Which of the following Python commands will display the text "Hello, World!" on the screen?
18. What Python keyword is used to define (create) a new function?
19. What is the output of the following code?def multiply (x, y = 2):return x * yprint (multiply (4) )
20. What does the term "debugging" mean?
21. Which of the following is the correct way to declare a variable in Python?
22. What is the purpose of the 'forward 20' command in the program?
23. What is a input?
24. How many times will the following loop execute?for i in range(3):print(i)
25. What happens if you use the 'forward' command without parentheses?