Python Interview Questions Part 2?
Sachin Gera
Manager @ EY | Python | Data Scientist | GenAI |Computer vision | Deep Learning | Machine Learning
1. What is Dynamic Typing ?
2. Justify this statement : Everything is object in Python ?
3. Python is Call by Value or Call by Reference ?
4. How do you create a dictionary which can preserve the order of pairs?
5. What is the use of enumerate() in Python?
6. What are *args, **kwargs ?
7. How instance variables are different from class variables?
8. What is List comprehension ?
9. What is __init__ functions ?
10. What is Method Resolution Order ?
11. How does Python's garbage collection work?
12. Differentiate between append() and extend() methods ?
13. What is Web Scraping? How do you achieve it in Python?
14. Explain the use “with” statement in python?
15. What's the difference between py2.x and py3.x ?
16. What is a meta class?
17. How do you go about packaging python code?
18. Explain indexing and slicing.
19. How Python is interpreted?
20. What are the different types of exceptions generated in python?
Thanks for all your queries and likes on previous article on python interview question. Open to all kind of discussion and suggestions.