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

Quiz Instructions

Select an option to see the correct answer instantly.

1. If the PRINT function is correct it appears as .....
2. The terms used to refer to variable's address in the memory and value to which a variable is bound
3. What is debugging in programming?
4. Language translator convert ..... code to ..... code.
5. Which of the following is a key feature of PyCharm for Python?
6. Which file extension is used for Python files?
7. What does the = operator do in Python?
8. Can we use reserved names as variable name
9. What is the output of:print(2 + 3)?
10. Which field uses Python to analyze large sets of data?
11. What will this code print?x = 2y = 3print(x ** y)
12. Koji je izlaz za print('Hej' + ' Svijete')?
13. What is the correct way to define a string in Python?
14. The correct way to write a variable in Python?
15. According to Guido van Rossum's goals for Python in 1999, what did he envision for the language?
16. Which of the following is a correctly-formatted comment?
17. What will be the output of the following code?def add(a, b):return a + bprint(add(2, 3))
18. Which of these is a Boolean value?
19. Which statement is used to exit a loop in Python?
20. What does 'input()' do?
21. Which line correctly creates the variable shown in the slides?
22. Which loop is used when the number of iterations is known?
23. Which logical operator is used to check if two values are not equal in programming?
24. What is the output of the following code? "'pythonprint("5" + "3") "'
25. What is a function in Python?