Python Interview Questions and Answers for Fresher




Some  Basic Interview Question in Python:
1. Basic Python Interview Questions
2. What is the difference between list and tuples?
3. What is PEP 8?
4. What are the key features of Python?
5. How Python is interpreted?
6. What are Python decorators?
7. What is the difference between deep and shallow copy?
8. What is Dict and List comprehensions are?
9. How can the ternary operators be used in python?
10. What is lambda in Python?
11. What are generators in Python?
12. How is memory managed in Python?
13. What is pass in Python?
14. What is pickling and unpickling?
15. What is module and package in Python?
16. What is dictionary in Python?
17. In Python what are iterators?
18. Explain how to delete a file in Python?
19. What is monkey patching in Python?
20.What does this mean: *args, **kwargs? And why would we use it?
21.What are negative indexes and why are they used?
22.How can you randomize the items of a list in place in Python?
23.How can you generate random numbers in Python?
24.What is the difference between range & xrange?
25.Mention what is the difference between Django, Pyramid, and Flask?
26. Explain how you can set up the Database in Django.
27. Explain the use of session in Django framework?



Comments

Popular posts from this blog

C&C++ programming tricky questions

c programming

pointer in c