Python Question Bank
Python Question Bank
1. What is Python?
2. Name some of the features of Python.
3. Is python a case sensitive language?
4. Why we use python?
5. List down the basic data types in Python.
6. Define variable in python?
7. Write a short note on python keywords.
8. Which function is used in python to get the type of variable.
9. What are the two modes of operation in python?
10. What is the full form of IDLE?
11. What is the purpose of break statement in Python?
12. What is the use of pass statement in Python?
13. What is local variable?
14. Define the use of global keyword.
15. Define the term: Encapsulation.
16. Define the term: abstraction.
17. What is the use of this keyword?
18. What is slicing?
19. What is the difference between list and tuple in python?
20. Which keyword is used to delete an element from a list.
21. What are tuples in Python?
22. What is dictionary? How it is different from list?
23. What is the use of eval () function?
24. Are Arguments in Python Passed by Value or by Reference?
25. What Does the // Operator Do?
26. What is the difference between append() and extend() methods of list class.
27. Which utility is used to install python package?
28. List all file opening modes supported by Python?
29. State the use of parameter “self” in python class.
30. Why we use Regular Expressions?
31. Write a Regular Expression to validate email address.
32. Which module in Python supports regular expressions?
25.