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

Quiz Instructions

Select an option to see the correct answer instantly.

1. How do you create a table in SQL?
2. Which of the following is the correct way to check if a number is NOT equal to 10 in Python?
3. Aturan penamaan variabel Python yang benar adalah .....
4. In which year Python is created?
5. What will the following code print? print('Name:', name)
6. What is the correct code to print 'Hello World' in Python?
7. What would be the output of the following code snippet?a ..... dict = \{'color':'blue', 'fruit':'apple', 'pet':'dog'\}for key in a ..... dict:print(key)
8. Data type for a whole number
9. What is the purpose of a computer program?
10. What does print("Good Job!") do?
11. How can you change the turtle's color?
12. How are constants conventionally named in PLS?
13. What is the output of the following code? "'pythonprint(2 ** 3) "'
14. What role has Python started to play in the field of IT project testing, as mentioned in the passage?
15. Name one fun thing you can do with Python.
16. Python is a:
17. Which of the following is used to import a module in Python?
18. What is the purpose of the 'input()' function in programming?
19. Manakah dari berikut ini yang merupakan nama variabel yang valid di Python?
20. What is the purpose of the print() function?
21. Which keyword is used to create a conditional statement in Python?
22. What is an IDE?
23. Which function from the random module returns a random integer between two given integers, inclusive?
24. Which of these is a valid comment line in Python?
25. Is the not equal operator in python