What are good Python interview questions?

What are good Python interview questions?

What are good Python interview questions?
Coming from a big data analytics background, we came upon preparing for interview where we had to prepare for python also.
These are the questions I prepared for my interview.

  1. What is Python?
  2. What are the benefits of using Python?
  3. What is a dynamically typed language?
  4. What is an Interpreted language?
  5. How is memory managed in Python?
  6. What is the built-in type does python provides?
  7. Differentiate between lists and tuples.
  8. What is lambda in Python?
  9. What are some of the features of Python?
  10. Is python a case sensitive language?
  11. What are Python’s dictionaries?
  12. Name some packages in Python?
  13. How will you convert a string to a list in python?
  14. How can you get a random number in python?
  15. How will you remove all leading whitespace in string?

According to me, while preparing for Python you should also go for machine learning and data science questions.

  1. What is Machine Learning?
  2. What are the various classification algorithms?
  3. What is ‘Naive’ in a Naive Bayes?
  4. Explain SVM algorithm in detail.
  5. What are the different kernels in SVM?
  6. What is Decision Tree?
  7. What are Entropy and Information gain in the Decision tree algorithm?
  8. What is logistic regression? State an example when you have used logistic regression recently
  9. What Are the Drawbacks of the Linear Model?
  10. What is the difference between Regression and classification of ML techniques?
  11. What are Recommender Systems?
  12. How can outlier values be treated?
  13. What is a Random Forest? How does it work?

You can also check machine interview question in detail on CloudXLab blog. These questions are compiled by industry experts after talking to machine learning engineers working in top companies. Here is the link for the same