Python Developer interview questions
Core Python, OOP, data structures, web frameworks, async, testing and performance.
198 questions · 7 topics · 14 free answers
0 of 198 practised · 0 bookmarked · saved on this device
26 questions match
OOP and design#1What does self refer to in a method?EasyConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#2What is name mangling?MediumConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#3When would you choose a dataclass over a plain class or a namedtuple?MediumScenarioOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#4What does super do in multiple inheritance?MediumConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#5What is the difference between an abstract method and a regular method in an ABC?MediumConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#6What is the factory pattern and when is it useful?MediumConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#7What is operator overloading in Python?MediumConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#8How would you make an object usable in a for loop?MediumScenarioOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#9How would you implement a thread-safe counter class?HardScenarioOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#10What are the four pillars of OOP?EasyConceptOOP and design Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
Hunting for a Python Developer role too? See open Python Developer jobs.