Question Bank
Interview Practice Questions
1,600+ practice questions organized by topic, company tag, and difficulty.
Showing 20 of 1635 questions
When and why should you use decorators with arguments?
Compare dataclasses and NamedTuple. In what cases is it better to use each?
How does reference counting work in Python?
Explain how __slots__ work and how they help with memory management.
How does a context manager work and what advantages does it provide?
What are ABC and how are they used to create abstract base classes?
Explain how the GIL works in Python and how it affects multithreading.
What are decorators with arguments and how do they differ from regular decorators?
Compare dataclasses, NamedTuple, and attrs. What are the advantages and disadvantages of each?
Explain how memory management works in Python, including reference counting and garbage collection.
What are metaclasses in Python, and how do they differ from regular classes?
Explain how descriptors work, including the __get__ and __set__ methods.
What are the differences between list comprehension and generator expression in Python?
How does the walrus operator work and in what cases should it be used?
Explain how generators work and what their advantages are over regular functions.
Compare dataclasses, NamedTuple, and attrs. What are their main differences and when should each be used?
Prepare for your next interview with Vibe Interview.
Download Vibe Interview