Python вопросы и ответы для интервью
Test your skills through the online practice test: Python Quiz Online Practice Test
Связанные сравнения
Вопрос 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.
Это полезно?
Добавить комментарий
Посмотреть комментарии
Вопрос 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.
Это полезно?
Добавить комментарий
Посмотреть комментарии
Вопрос 48. What are the differences between Java and Python?
Please refer Java vs Python.
Это полезно?
Добавить комментарий
Посмотреть комментарии
Вопрос 49. What are the differences between Python 2 and Python 3?
Please refer Python 2 vs Python 3.
Это полезно?
Добавить комментарий
Посмотреть комментарии
Вопрос 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
Это полезно?
Добавить комментарий
Посмотреть комментарии
Самое полезное по оценкам пользователей:
- 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?