Interview questions

Python interview questions – page 3

168 questions. Tap “Show answer” to check yourself.

  1. What are the uses of List Comprehensions feature of Python?

  2. Why is not all memory freed when Python exits?

  3. What is the Java implementation of Python popularly known as?

  4. How is the Implementation of Pythons dictionaries done?

  5. What are the disadvantages of the Python programming language?

  6. What are uses of lambda?

  7. How to find methods or attributes of an object?

  8. Define a method in Python?

  9. What is the statement that can be used in Python if a statement is required syntactically but the program requires no action?

  10. Does Python support strongly for regular expressions? What are the other languages that support strongly for regular expressions?

  11. Why should we close files?

  12. Explain how can you make a Python Script executable on Unix?

  13. What is negative index in Python?

  14. What is Python Decorator?

  15. In Python what are iterators?

  16. Explain split() and join() function.

  17. What is pass in Python?

  18. What are the disadvantages of Python Recursion?

  19. Explain how to delete a file in Python?

  20. How to compare two list?

  21. What are the built-in type does python provides?

  22. In Python what is slicing?

  23. Why lambda forms in python does not have statements?

  24. Which of the languages does Python resemble in its class syntax?

  25. Describe python usage in web programming?

  26. Which all are the operating system that Python can run on?

  27. What are the other languages that support strongly for regular expressions?

  28. Does Python support strongly for regular expressions?

  29. How to prevent blocking in content() method of socket?

  30. Is there any equivalent to scanf() or sscanf()?

Companies that ask Python questions