Interview questions
Python interview questions – page 2
168 questions. Tap “Show answer” to check yourself.
-
Mention the use of the split function in Python?
-
What is a docstring?
-
How python manage memory?
-
Is python statically typed or dynamically typed?
-
How does Python handle the memory management?
-
What is the best Django or PHP?
-
Why python is referred as glue code?
-
How can you copy an object in Python?
-
What are the advantages of Python Recursion?
-
What is Python Set?
-
What is the comment tag in Python ?
-
Mention what is the difference between Django, Pyramid, and Flask.
-
What is unittest in Python?
-
Why do we need Python Directories
-
How can you sort a list?
-
Mention what are the rules for local and global variables in Python?
-
Why Should We Use File Operation?
-
How can you share global variables across modules?
-
What a blank curly brace initialize? A dictionary or a set?
-
How are arguments passed by value or by reference?
-
What is the difference between Xrange and range?
-
What are the differences between del keyword and clear() function?
-
What is module and package in Python?
-
What is Dict and List comprehensions are?
-
How you can convert a number to a string?
-
What is the optional statement used in a try except statement in Python?
-
When you need ordered container of things, which will be manipulated, use lists?
-
What is the language from which Python has got its features or derived its features?
-
Why cannot lambda forms in Python contain statements?
-
Is there any tool used to find bugs or carrying out static analysis?