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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following types of computer languages that can be human readable and writable to communicate the computer?
2. What does the term 'machine code' refer to?
3. Age=14print(Age)What is the output?
4. Library NumPy fokus pada .....
5. What is the effect of using 'del []' in PLS?
6. What type of value does input() return in Python?
7. Read the Python program below:a = 13 a = a + 1 print(a)When this program is executed, what will be displayed on the screen?
8. Which of the following is a Python data type?
9. What is a function?
10. What is data output?
11. You have t1 = (1, 2, 3) and t2 = ('a', 'b'). What is tuple(zip(t1, t2))?
12. Which of the following is a Tkinter widget?
13. What, if anything, is wrong with the following?input=x("Type your password: ")print(x)
14. Which of the following is a valid variable assignment in Python?
15. What is the purpose of the PyCharm IDE?
16. What is the output of the following code:print(type(5))?
17. Given tuple t = (1, 5, False, 3, 9), what does any(t) return and why?
18. Which of the following statements will print the value of variable 'score'?
19. Module-2:Example Program:Magic 8 Ball with a .....
20. In the interactive mode, the value of a variable x can be found by:
21. What will be the output of the following code? "'pythonprint("The temperature is", 22, "degrees Celsius.") "'
22. Which print statement correctly prints the value stored in score?
23. What is the result of the following expression:$3^2 + 4^2$
24. X = 50def func():global xprint('x is', x)x = 2print('Changed global x to', x)func()print('Value of x is', x)
25. Find the output.print(80+20*4//2)
26. You need to insert and remove items from a tuple, then restore it to an immutable form. What is the most appropriate workflow?
27. Which subprogram is used to make the turtle move backward?
28. What will print('Hello' + 'World') show?
29. Which of the following is wrong in reference to naming of variable?
30. In python programming, we DO NOT need to declare the type of data for variable
31. What is the purpose of the 'break' statement in the code snippet provided?
32. What is the difference between a statement and an expression?
33. Which of these is a computer coding program?
34. An instruction is written to determine if the value in a is equal to the value in b.Choose the correct operator to complete the instruction:if a ..... b:
35. How do you write a comment in Python? Why are comments important?
36. Which of the following is a mapping type in Python?
37. Name the famous Module used for Web Scraping
38. Write the output of the following:m, n, p = 1, 2, 3; print(m, n, p)
39. What does the for loop do?
40. What is 3 + 2 in Python?
41. How do you draw a half-circle using the turtle library's 'circle' subprogram?
42. What is missing from this line of code? pencolor(red)
43. Which of these is an integer?
44. What is a string in Python?
45. What is the correct way to create an empty list in Python?
46. Who created python language?
47. Which built-in function returns the maximum value in an iterable?
48. How do you import the Pandas library with the alias pd?
49. What will be the output of the following code?x = 1while x < 5:print(x)x = x + 1
50. What is the default Python IDE that comes with Python installation?
51. Struktur data DataFrame memiliki tiga identitas utama, yaitu .....
52. What does the 'for' loop in iteration constructs do when used with a range function?
53. Computer program that directly executes instructions written in a programming or scripting language. (i.e. Python IDLE)
54. What is the variable in the line of code below? firstname = input( "What is your name?" )
55. High-level languages need to be compiled into machine code before they can be used by a computer.
56. What is an if statement used for?
57. What will happen if you try to use a reserved keyword as a variable name?
58. Code for257Hello, World!
59. What is the output of the following code? "'pythonprint(type(42)) "'
60. A computer program is best described as: