| 1 | What is the fundamental difference between concurrency and parallelism, and how does this map to Python's threading versus multiprocessing modules? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Beginner |
| 2 | How do you create and run a basic thread using the threading module? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Beginner |
| 3 | How do you protect shared mutable state from race conditions when using multiple threads, using threading.Lock? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 4 | How do you correctly implement a producer-consumer pattern using System.Threading.Channels for asynchronous data pipelines? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 5 | How would you implement a context manager for managing a lock (like threading.Lock) while ALSO adding a timeout, raising an error if the lock can't be acquired quickly enough? Python › File I/O & Context Managers | Python | File I/O & Context Managers | Advanced |
| 6 | How would you implement a producer-consumer background processing pipeline using System.Threading.Channels alongside a BackgroundService? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 7 | How do the threading models of Redis and Memcached differ, and what performance implications does this have? Redis › Redis vs Memcached | Redis | Redis vs Memcached | Intermediate |
| 8 | What are the differences between Redis's threading model in older versions versus improvements introduced in more recent versions for handling input and output operations? Redis › Redis Architecture & Installation | Redis | Redis Architecture & Installation | Advanced |
| 9 | What is the UI thread and why must UI updates happen on it? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Beginner |
| 10 | What is the UI thread and why must UI updates happen on it? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Beginner |
| 11 | How do you run CPU-bound work without blocking the UI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 12 | What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 13 | How do you run CPU-bound work without blocking the UI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 14 | What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 15 | How do you cancel long-running operations in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 16 | How do you safely update collections bound to the UI from background threads? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 17 | How do you cancel long-running operations in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 18 | How do you safely update collections bound to the UI from background threads? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 19 | What is the basic pattern for running an async function using asyncio.run()? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Beginner |
| 20 | What is an isolate in Dart, and how does it fundamentally differ from a traditional operating system thread used for genuine concurrent execution in many other programming languages? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Beginner |
| 21 | What is the main isolate in a Flutter app, and why should genuinely expensive, computationally intensive work generally be avoided from running directly on it? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Beginner |
| 22 | How does the Global Interpreter Lock (GIL) affect CPU-bound versus I/O-bound multithreaded programs differently? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 23 | How do you run multiple coroutines concurrently using asyncio.gather()? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 24 | How does multiprocessing.Pool let you parallelize a CPU-bound function across multiple worker processes? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 25 | What is a race condition, and how does it differ from a deadlock? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 26 | How does Dart's simple compute function provide a genuinely convenient, considerably simplified shortcut for running a specific function on a completely separate isolate, without needing to manually manage the full underlying isolate lifecycle yourself? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Intermediate |
| 27 | How do you properly establish genuine ongoing bidirectional communication between the main isolate and a manually spawned separate isolate using SendPort and ReceivePort, for a scenario requiring more than just a single one off request and response? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Intermediate |
| 28 | What specific types of data can actually be sent as a message between two separate isolates in Dart, and why can an arbitrary complex object, such as one containing an active network connection, genuinely not simply be passed directly between them? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Intermediate |
| 29 | How does asyncio's event loop schedule and switch between multiple coroutines, and what makes this cooperative rather than preemptive? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 30 | How do you safely run a blocking, synchronous function from within an asyncio coroutine without freezing the event loop? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 31 | How do you share data between processes using multiprocessing, given that separate processes don't share memory the way threads do? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 32 | How would you implement a producer-consumer pattern combining a thread-safe queue.Queue with multiple worker threads? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 33 | How do you correctly cancel a running asyncio task, and how should the task itself handle the resulting CancelledError? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 34 | How would you use concurrent.futures.ProcessPoolExecutor together with asyncio to run CPU-bound work without blocking the event loop? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 35 | How would you design a robust worker pool that handles both graceful shutdown (finishing in-flight work) and immediate cancellation (dropping everything), using asyncio? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Advanced |
| 36 | How does Dart's newer Isolate.run API simplify the process of running a specific one off computation on a separate isolate compared to the older, considerably more manual Isolate.spawn combined with ReceivePort approach? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Advanced |
| 37 | What are isolate groups and Dart's newer experimental shared memory capabilities, and how might these genuinely eventually reduce the current overhead of passing genuinely very large amounts of data between two separate isolates? Flutter › Flutter Isolates & Multithreading | Flutter | Flutter Isolates & Multithreading | Advanced |
| 38 | Is JavaScript single-threaded, and what does that mean in practice? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Beginner |
| 39 | How do you implement a thread-safe Singleton pattern in modern C# using Lazy<T>? C# › Design Patterns in C# | C# | Design Patterns in C# | Beginner |
| 40 | What is an async generator, and how does it differ from a regular generator? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Beginner |
| 41 | How do you consume an async generator using 'async for'? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Beginner |
| 42 | What is an async context manager, and which two dunder methods does it require? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Beginner |
| 43 | What does it mean that Python has 'automatic' memory management, and what's the trade-off compared to manual memory management in languages like C? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Beginner |
| 44 | What is a DbContext, and why should it generally not be shared across multiple concurrent operations? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Beginner |
| 45 | What is the purpose of the ServerCallContext parameter present in every gRPC server method, and what information does it expose? .NET › gRPC Services | .NET | gRPC Services | Beginner |
| 46 | What is a background task in a Flutter app, and why can this kind of work not always simply be handled the exact same way as regular code running while the app is actively open and visible on screen? Flutter › Flutter Background Tasks & WorkManager | Flutter | Flutter Background Tasks & WorkManager | Beginner |
| 47 | How do you keep API calls off the UI thread and update the UI safely? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Intermediate |
| 48 | How do you keep API calls off the UI thread and update the UI safely? .NET MAUI › Networking & APIs | .NET MAUI | Networking & APIs | Intermediate |
| 49 | How do you include structured context (like a request ID) in every log message using LoggerAdapter or extra? Python › Logging | Python | Logging | Intermediate |
| 50 | How does Python's generational garbage collector work, and why generations? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Intermediate |
| 51 | What is the difference between SaveChanges() and SaveChangesAsync(), and why does it matter for a web application's scalability? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Intermediate |
| 52 | How do you implement server-streaming gRPC using C#'s IAsyncEnumerable<T> or IServerStreamWriter<T>? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 53 | What is the difference between microtasks and the event queue in Dart's event loop, and how does this affect the precise order in which asynchronous code actually executes? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Intermediate |
| 54 | How does a background task's callback function actually run in a separate isolate, and what practical implications does this actually have for accessing shared app state or plugins from within that specific background task? Flutter › Flutter Background Tasks & WorkManager | Flutter | Flutter Background Tasks & WorkManager | Intermediate |
| 55 | How do you share an ArrayBuffer between a Web Worker and the main thread without copying it? JavaScript › ArrayBuffer, TypedArrays & Binary Data | JavaScript | ArrayBuffer, TypedArrays & Binary Data | Advanced |
| 56 | What is the performance and thread-safety difference between ConcurrentDictionary<TKey,TValue> and a regular Dictionary<TKey,TValue> guarded by a manual lock? C# › Collections | C# | Collections | Advanced |
| 57 | How does AggregateException work with Task.WhenAll() when multiple concurrent tasks throw exceptions? C# › Exception Handling | C# | Exception Handling | Advanced |
| 58 | How do you use FileSystemWatcher to monitor a directory for file changes, and what are its common reliability pitfalls? C# › File I/O & Streams | C# | File I/O & Streams | Advanced |
| 59 | How does the difference between the Server GC and Workstation GC modes affect a .NET application's throughput and latency characteristics? C# › Memory & Garbage Collection | C# | Memory & Garbage Collection | Advanced |
| 60 | How do you handle backpressure when an async generator produces items faster than the consumer can process them? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 61 | How do async generators interact with asyncio.Queue to implement a producer-consumer pattern across separate tasks? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 62 | How would you implement a 'fan-out, fan-in' pattern using multiple async generators consumed concurrently and merged into one stream? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 63 | How would you implement a coroutine-style generator-based pipeline (the classic pre-async/await pattern) using multiple chained 'send()'-driven generators? Python › Comprehensions & Generators | Python | Comprehensions & Generators | Advanced |
| 64 | How would you implement a thread-safe caching decorator that correctly handles concurrent calls from multiple threads? Python › Decorators | Python | Decorators | Advanced |
| 65 | How does Python 3.11's exception groups (ExceptionGroup) and the 'except*' syntax let you handle MULTIPLE unrelated exceptions raised together? Python › Exception Handling | Python | Exception Handling | Advanced |
| 66 | How would you implement a circuit breaker pattern using exception handling, to stop repeatedly calling a service that's consistently failing? Python › Exception Handling | Python | Exception Handling | Advanced |
| 67 | How would you implement a lazy, chainable iterator pipeline (like filter-then-map) from scratch? Python › Iterators & the Iterator Protocol | Python | Iterators & the Iterator Protocol | Advanced |
| 68 | Why is logging generally considered thread-safe, and what should you still be careful about in multiprocessing? Python › Logging | Python | Logging | Advanced |
| 69 | What are common patterns for implementing a producer-consumer background processing pipeline using Channel<T> with a BackgroundService? .NET › Background Services | .NET | Background Services | Advanced |
| 70 | What is the 'cache stampede' (thundering herd) problem, and how can you mitigate it? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Advanced |
| 71 | How would you diagnose a thread pool starvation issue in a production ASP.NET Core application? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Advanced |
| 72 | How does async/await performance compare to synchronous code, and what overhead does the async state machine introduce? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Advanced |
| 73 | What are the four types of gRPC service methods (unary, server streaming, client streaming, bidirectional streaming), and when is each appropriate? .NET › gRPC Services | .NET | gRPC Services | Advanced |
| 74 | How would you implement a background task queue accepting ad-hoc work items dynamically at runtime, rather than a fixed polling loop? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 75 | What is the 'cache stampede' (thundering herd) problem, and how would you mitigate it in an ASP.NET Core application? ASP.NET Core › Caching | ASP.NET Core | Caching | Advanced |
| 76 | How does an IAsyncActionFilter differ from the synchronous IActionFilter, and why is the async version generally preferred for filters doing I/O work? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 77 | What strategies help manage memory usage effectively when a Flutter app needs to display many images at once, such as within a large scrolling photo gallery? Flutter › Camera & Media Handling in Flutter | Flutter | Camera & Media Handling in Flutter | Advanced |
| 78 | How can heavy image processing tasks, such as applying a filter or resizing a very large image, be moved off the main UI thread using isolates to avoid causing the app's interface to freeze or stutter? Flutter › Camera & Media Handling in Flutter | Flutter | Camera & Media Handling in Flutter | Advanced |
| 79 | What are the practical performance considerations of parsing a genuinely very large JSON response, and how does moving that particular parsing work onto a genuinely separate isolate help meaningfully avoid causing your app's own visible interface to freeze? Flutter › JSON Serialization & Deserialization | Flutter | JSON Serialization & Deserialization | Advanced |