Python Interview Questions
Introduction
I had compiled some python interview questions.
This List helps Freshers & Experienced Persons.
- What is Python ? What are the Features of Python?
- What are Lists?
- What is the difference between Lists & Tuples. Where will you use tuple and where will you use List?
- What is the difference between Deep copy & Shallow copy?
- What is Dictionary in Python?
- Python is call by value or call by reference?
- What is enumerate() in Python?
- What are *args, ** Kwargs?
- a = [1,2,3,4,5]
print(a[10:]) - What is List Comprehension?
- what is lambda function?
- Can Generators be used to create Iterators?
- Can Iterators be used to create generators?
- What is set default in the dictionary?
- What are sub() & subn() methods?
- How can you generate random numbers in python?
- What is .py & .pyc files?
- Difference between Instance, Local & Global variables?
- Does Python Supports Inheritance?
- What is Negative Index and what is the use of negative index?
- How is Python executed?
- What data types does Python support?
- What is PEP8?
- What is range & xrange?
- What is Decorator?
- What is the use of "with" statement in Python?
- What is monkey Patching?
- How Memory is managed in Python?
- Does Python Supports Multithreading?
- 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..