Codementor Events

Python Interview Questions

Published Dec 26, 2018
Python Interview Questions

Introduction

I had compiled some python interview questions.
This List helps Freshers & Experienced Persons.

  1. What is Python ? What are the Features of Python?
  2. What are Lists?
  3. What is the difference between Lists & Tuples. Where will you use tuple and where will you use List?
  4. What is the difference between Deep copy & Shallow copy?
  5. What is Dictionary in Python?
  6. Python is call by value or call by reference?
  7. What is enumerate() in Python?
  8. What are *args, ** Kwargs?
  9. a = [1,2,3,4,5]
    print(a[10:])
  10. What is List Comprehension?
  11. what is lambda function?
  12. Can Generators be used to create Iterators?
  13. Can Iterators be used to create generators?
  14. What is set default in the dictionary?
  15. What are sub() & subn() methods?
  16. How can you generate random numbers in python?
  17. What is .py & .pyc files?
  18. Difference between Instance, Local & Global variables?
  19. Does Python Supports Inheritance?
  20. What is Negative Index and what is the use of negative index?
  21. How is Python executed?
  22. What data types does Python support?
  23. What is PEP8?
  24. What is range & xrange?
  25. What is Decorator?
  26. What is the use of "with" statement in Python?
  27. What is monkey Patching?
  28. How Memory is managed in Python?
  29. Does Python Supports Multithreading?
  30. What is pickling & unpickling?

Though i will not be giving any explanation.
I think to learn any programming language you need to put some efforts.
So try finding the answers.
All The Best..

Discover and read more posts from Sadhana Reddy
get started
post commentsBe the first to share your opinion
Show more replies