| 1 | What is multiple inheritance in Python, and how does it differ from single inheritance? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Beginner |
| 2 | Why is Python's approach to multiple inheritance considered more powerful but riskier than single-inheritance-only languages? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Beginner |
| 3 | How does super() work in the context of multiple inheritance, and why is it more than just 'call the parent class'? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 4 | What is a mixin class, and how does it differ from a typical base class in multiple inheritance? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 5 | How can you use isinstance() and issubclass() to check relationships in a multiple-inheritance hierarchy? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 6 | How does cooperative multiple inheritance require every class in the hierarchy to call super() consistently, even in __init__? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 7 | How does Python handle attribute (not just method) resolution across multiple inheritance, and can it lead to surprising shadowing? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 8 | What is the 'diamond problem', and how does Python's MRO solve it? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 9 | How do you call a specific ancestor's method explicitly, bypassing the normal MRO-based super() resolution? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 10 | How does the built-in `object` class relate to every class's MRO, and why does it always appear last? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 11 | How does the C3 linearization algorithm compute a class's MRO? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 12 | Why does the convention of listing mixins before the primary base class matter for MRO and method overriding? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 13 | What's the difference between mixing in an abstract base class (using abc.ABC) versus a plain mixin class? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Intermediate |
| 14 | Why does Python sometimes raise 'TypeError: Cannot create a consistent method resolution order'? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 15 | How would you design a mixin to be safely combinable with any base class's __init__ signature using **kwargs? Python › Multiple Inheritance & MRO | Python | Multiple Inheritance & MRO | Advanced |
| 16 | Why can't you freely mix two classes with different, incompatible metaclasses in multiple inheritance? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Advanced |
| 17 | What is the __mro__ attribute and how does it relate to metaclasses? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Beginner |
| 18 | What is the practical difference between isinstance(obj, cls) and type(obj) is cls, particularly regarding metaclasses and inheritance? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Intermediate |
| 19 | How does EF Core map inheritance hierarchies to database tables, and what are the three main strategies (TPH, TPT, TPC)? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Intermediate |
| 20 | What is a metaclass in Python, and what is the default metaclass for all classes? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Beginner |
| 21 | Why do most Python developers rarely need to write a custom metaclass in everyday code? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Beginner |
| 22 | What does the __init__.py file do inside a package directory? Python › Modules & Packaging | Python | Modules & Packaging | Beginner |
| 23 | What is a reference cycle, and why can't simple reference counting free it? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Intermediate |
| 24 | How does the gc module let you inspect and debug memory leaks caused by uncollectable objects? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Intermediate |
| 25 | How do you create a class dynamically using type() with three arguments instead of a class statement? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Intermediate |
| 26 | How does __init_subclass__ provide a simpler alternative to metaclasses for many customization needs? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Intermediate |
| 27 | How would you set up a CORS policy that allows any subdomain of a given domain (like *.mycompany.com) using SetIsOriginAllowed? .NET › CORS & Cross-Origin Resource Sharing | .NET | CORS & Cross-Origin Resource Sharing | Intermediate |
| 28 | How does the [OutputCache] attribute's VaryByValue option let you cache based on custom, computed criteria beyond query strings or headers? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 29 | How does functools.singledispatch enable function overloading based on argument type? Python › functools & Functional Programming Tools | Python | functools & Functional Programming Tools | Advanced |
| 30 | What is the difference between __new__ and __init__, and when would you override __new__? Python › Magic Methods & Operator Overloading | Python | Magic Methods & Operator Overloading | Advanced |
| 31 | How does the weakref module help avoid reference cycles and memory leaks? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Advanced |
| 32 | Why is __del__ (the finalizer method) discouraged for critical cleanup logic, and what problems can it cause? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Advanced |
| 33 | How do circular references between objects with __del__ methods behave differently in Python 3.4+ compared to earlier versions? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Advanced |
| 34 | How do you write a custom metaclass by subclassing type, and when would you do so? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Advanced |
| 35 | How do abstract base classes (ABCs) use a metaclass to enforce that subclasses implement required methods? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Advanced |
| 36 | How can a metaclass be used to implement the Singleton design pattern more robustly than overriding __new__ alone? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Advanced |
| 37 | How does __instancecheck__ and __subclasscheck__ on a metaclass enable 'virtual subclassing' as used by collections.abc? Python › Metaclasses & Class Customization | Python | Metaclasses & Class Customization | Advanced |
| 38 | How would you write a custom configuration provider to load settings from an unsupported source, like a remote database? .NET › Configuration & Options | .NET | Configuration & Options | Advanced |
| 39 | How do you handle optimistic concurrency conflicts in EF Core using a concurrency token (like RowVersion)? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Advanced |
| 40 | How would you implement custom middleware to catch and log unhandled exceptions before they reach the exception handler, adding request-specific context? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 41 | How would you implement hierarchical or nested permission checks, like an organization admin having access to all of their organization's resources? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Advanced |
| 42 | How would you write a custom configuration provider to load settings from an unsupported source, like a remote configuration service or database? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 43 | How would you design configuration for a multi-tenant ASP.NET Core application where each tenant needs different settings resolved at runtime? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 44 | How would you configure CORS to allow any subdomain of a known domain (like *.mycompany.com) using SetIsOriginAllowed with custom matching logic? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Advanced |