Python Interview Questions Part 2?

Python Interview Questions Part 2?

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.

要查看或添加评论,请登录

Sachin Gera的更多文章

  • Generative Adversarial Networks (GANs)

    Generative Adversarial Networks (GANs)

    GANs is an approach for generative modelling using deep learning methods such as CNN (Convolutional Neural Network)…

  • Django Interview questions-

    Django Interview questions-

    Here are some most frequently asked question on Python- 1. Explain MVC structure of Django? 2.

    4 条评论
  • Preparing for Python interview?

    Preparing for Python interview?

    Here are some most frequently asked question on Python:- 1. Data types in Python? 2.

  • Why python is gaining popularity among developers?

    Why python is gaining popularity among developers?

    1. Python’s syntax is very simple and high level when compared to Java, C and C++ 2.

    1 条评论
  • Things you should know before joining startup

    Things you should know before joining startup

    No more Spoon-feeding - Working at a startup is a hands on experience. You will have lot to learn on the job.

社区洞察