Python 면접 질문과 답변
Test your skills through the online practice test: Python Quiz Online Practice Test
관련 차이점
Ques 46. What do you understand by the term PEP 8?
PEP 8 is the Python latest coding convention and it is abbreviated as Python Enhancement Proposal. It is all about how to format your Python code for maximum readability.
도움이 되었나요?
Add Comment
View Comments
Ques 47. How memory management is done in Python?
- In Python memory management is done using private heap space. The private heap is the storage area for all the data structures and objects. The interpreter has access to the private heap and the programmer cannot access this private heap.
- The storage allocation for the data structures and objects in Python is done by the memory manager. The access for some tools is provided by core API for programmers to code.
- The built-in garbage collector in Python is used to recycle all the unused memory so that it can be available for heap storage area.
도움이 되었나요?
Add Comment
View Comments
Ques 48. What are the differences between Java and Python?
Please refer Java vs Python.
도움이 되었나요?
Add Comment
View Comments
Ques 49. What are the differences between Python 2 and Python 3?
Please refer Python 2 vs Python 3.
도움이 되었나요?
Add Comment
View Comments
Ques 50. What are the built-in types available in Python?
The built-in types in Python are as follows:
- Integer
- Complex numbers
- Floating-point numbers
- Strings
- Built-in functions
도움이 되었나요?
Add Comment
View Comments
Most helpful rated by users:
- What is Python?
- How do I share global variables across modules?
- How do you set a global variable in a function in Python?
- What type of language is Python? Programming or Scripting?
- Why can't I use an assignment in an expression?