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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Define the term syntax error
2. Which data type represents a whole number?
3. Operator aritmatika apa yang digunakan untuk melakukan perkalian dalam Python?
4. A syntax error in your code means:
5. Which career involves using Python to analyze and visualize data?
6. What type of data is the following?:X = "195.67"
7. What is the purpose of variables in Python?
8. A ..... is set of instructions that is given to a computer to perform a task.
9. What does the 'count()' method do in a Pandas Series?
10. On which operating system can you use Python?
11. The letter 'U' is which data type?
12. How do you keep track of different versions of your code?
13. Tuples are .....
14. Which control structure is used to repeat a block of code a certain number of times?
15. What is the result of the following code? "'pythonname = "Bob"print(name.upper()) "'
16. What is the word used to display numbers and text on the screen?
17. What is the order in which a computer solves a problem?
18. What will the following code print? "'pythonx = 5if x > 3:print("Hello")else:print("Goodbye") "'
19. What is the purpose of Anaconda?
20. Which of the following is a correct way to print a message in Python?
21. The instructions in an algorithm, when expressed precisely in English, .....
22. Which of these will show an error in Python?
23. Which operation is possible with tuples but not with lists in Python?
24. Koju funkciju koristiti za unos u Pythonu?
25. Which of the following is NOT allowed in Python variable names?
26. What is the correct way to define a function in Python?
27. Which keyword is used to define a function in Python?
28. Which data type is used to store:100
29. How do you start a comment in Python?
30. What is the code for a STRING in python?
31. Which of the following is used to check multiple conditions in Python?
32. What symbol is used in python to assign values to a variable?
33. What will the following code output:for i in range(3):print(i)?
34. Is the input command predefined in Python?
35. Which loop repeats a block of code while a condition is true?
36. What will the following code output? print(5 == 5)
37. Which Python command is used to output information to the screen?
38. What is the default path where Python looks for modules?
39. Which of the following statements is true about local and global variables in Python functions?
40. What types of data does Python support?
41. Which algorithm would be the most efficient algorithm for finding a name in a phone book?
42. Why did Python's creator name the language after Monty Python's Flying Circus?
43. What does the subprogram 'chr' do in PLS?
44. What is the main characteristic of PyPy?
45. Write the output of the following code:x = 4-7j; print(x.imag, x.real)
46. What will this display?age = 10print(age + 5)
47. What is the primary purpose of a programming language?
48. How do you insert COMMENTS in Python code?
49. What Python command lets the user enter an answer to a question?
50. Python is an example of:
51. What are the three important data structures in Pandas?
52. What is the purpose of using functions in Python?
53. What is a common problem that can occur with recursive functions?
54. What programme do we use?
55. What keyword is used in Python to handle exceptions?
56. High-level languages were developed because:
57. What will be the result of the following expression?not (5 > 3)
58. What type of number is 'height = 5.8'?
59. What is the correct way to start a comment in Python?
60. What is the output of print(10 == 10)?