| 1 | How do you loop over an async iterable? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Beginner |
| 2 | 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 |
| 3 | How do you consume an async generator using 'async for'? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Beginner |
| 4 | 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 |
| 5 | What is the basic pattern for running an async function using asyncio.run()? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Beginner |
| 6 | What is the purpose of the 'node:timers/promises' module, and how does it simplify working with delays in async code? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |
| 7 | How do you run multiple coroutines concurrently using asyncio.gather()? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 8 | What are async streams in C#, and how does IAsyncEnumerable<T> differ from a regular IEnumerable<T> for handling large or slow data sources? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 9 | What is the difference between running async operations sequentially with multiple awaits versus concurrently with Promise.all()? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 10 | Why might Promise.all() be the wrong tool when consuming many async iterators? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 11 | 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 |
| 12 | 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 |
| 13 | 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 |
| 14 | 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 |
| 15 | 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 |
| 16 | What do async and await do? C# › Asynchronous Programming | C# | Asynchronous Programming | Beginner |
| 17 | What is an async iterator? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Beginner |
| 18 | What do the 'async' and 'await' keywords do, and how do they relate to each other? C# › Asynchronous Programming | C# | Asynchronous Programming | Beginner |
| 19 | What is the difference between the async and await keywords in C#, and how do they work together? C# › Asynchronous Programming | C# | Asynchronous Programming | Beginner |
| 20 | What does asynchronous programming mean in PHP, and why is it different from PHP's traditional synchronous execution model? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Beginner |
| 21 | What is ReactPHP and how does its event loop enable non blocking, asynchronous behavior in standard PHP? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Beginner |
| 22 | How do the async and await keywords let you write asynchronous code in Dart that reads and looks like simple, straightforward sequential code? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Beginner |
| 23 | How do you run multiple async operations concurrently? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 24 | How do you write an async generator function? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Intermediate |
| 25 | What does return() do on an async iterator? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Intermediate |
| 26 | How do you run multiple asynchronous operations concurrently and wait for all of them using Task.WhenAll? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 27 | How do you write an async context manager more concisely using @contextlib.asynccontextmanager? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Intermediate |
| 28 | How does an async generator interact with try/finally for guaranteed cleanup, similar to regular generators? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Intermediate |
| 29 | How do you build an async generator pipeline, chaining one async generator's output into another, like a synchronous generator pipeline? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Intermediate |
| 30 | How do async comprehensions work, combining 'async for' directly inside a list/set/dict comprehension? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Intermediate |
| 31 | How does async/await relate to Promises under the hood, and what does 'await' actually do to program execution? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 32 | How do you implement a retry-with-exponential-backoff pattern for a flaky async operation in Node.js? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 33 | How do coroutines in Swoole let you write asynchronous code using a familiar, synchronous looking coding style? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Intermediate |
| 34 | What types of real world applications are best suited for asynchronous PHP frameworks like ReactPHP or Swoole, compared to traditional synchronous PHP applications? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Intermediate |
| 35 | How do you properly handle errors that occur during an asynchronous operation using a try catch block combined with async and await? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Intermediate |
| 36 | How does Future.wait let you run several independent asynchronous operations concurrently and wait for all of them to complete together, rather than awaiting each one sequentially one after another? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Intermediate |
| 37 | 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 |
| 38 | How do you convert a Node.js Readable stream into an async iterable? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 39 | How do you run multiple async iterators concurrently and merge their results? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 40 | How do you add a timeout to an async iterator's next() call? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 41 | How does CancellationToken propagate cancellation requests through a chain of async method calls? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 42 | How does the compiler transform an async method into a state machine, and why does this matter for understanding performance? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 43 | How do IAsyncEnumerable<T> and 'await foreach' let you consume an asynchronous stream of values one at a time? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 44 | How do you correctly implement a producer-consumer pattern using System.Threading.Channels for asynchronous data pipelines? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 45 | How would you implement a custom async iterator class from scratch, without using an async generator function? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 46 | How would you implement timeout handling for an async generator's individual yields, so a stalled source doesn't hang the consumer forever? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 47 | How would you implement an async context manager that also supports being used as a decorator, similar to contextlib.contextmanager's decorator support? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 48 | How do you properly propagate cancellation into an async generator when the consuming task is cancelled mid-iteration? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 49 | How do you correctly test async generators and async context managers using pytest and pytest-asyncio? Python › Async Generators & Async Context Managers | Python | Async Generators & Async Context Managers | Advanced |
| 50 | 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 |
| 51 | 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 |
| 52 | 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 |
| 53 | How does async/await work under the hood in C#, and what specifically happens when execution reaches an 'await'? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 54 | What is an async generator, and how does 'for await...of' let you consume asynchronously produced data? Node.js › Async Patterns | Node.js | Async Patterns | Advanced |
| 55 | What is a common pitfall when using async/await inside Array.prototype.forEach(), and how do you fix it? Node.js › Async Patterns | Node.js | Async Patterns | Advanced |
| 56 | How would you implement a concurrency-limited task queue in Node.js to process many async tasks without overwhelming a downstream resource? Node.js › Async Patterns | Node.js | Async Patterns | Advanced |
| 57 | What is 'fire-and-forget' async code, and why is it generally discouraged in production Node.js applications? Node.js › Async Patterns | Node.js | Async Patterns | Advanced |
| 58 | What common pitfalls should developers be aware of when writing asynchronous PHP code with Swoole, particularly around shared state and blocking calls? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Advanced |
| 59 | How should a team decide whether to adopt an asynchronous PHP framework like Swoole for a new project, versus sticking with a traditional synchronous framework like Laravel running on PHP-FPM? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Advanced |
| 60 | How can you properly cancel an in progress asynchronous operation in Dart, such as a network request, when it is no longer actually needed, for example because the user has already navigated away from that specific screen? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Advanced |
| 61 | What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 62 | What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 63 | How do you catch errors from a Promise chain versus async/await? JavaScript › Error Handling | JavaScript | Error Handling | Intermediate |
| 64 | How do you efficiently copy data between two streams using Stream.CopyToAsync(), and why is this preferred over a manual byte-by-byte loop? C# › File I/O & Streams | C# | File I/O & Streams | Intermediate |
| 65 | 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 |
| 66 | How do you implement server-streaming gRPC using C#'s IAsyncEnumerable<T> or IServerStreamWriter<T>? .NET › gRPC Services | .NET | gRPC Services | Intermediate |
| 67 | Why doesn't Express automatically catch errors thrown inside an async route handler in versions prior to Express 5, and how do you work around this? Node.js › Error Handling | Node.js | Error Handling | Intermediate |
| 68 | What is the try/catch/finally pattern's 'finally' block used for, and how does it behave with async/await? Node.js › Error Handling | Node.js | Error Handling | Intermediate |
| 69 | How do you properly handle loading, error, and data states when working with a FutureProvider or a StreamProvider in Riverpod, using the resulting AsyncValue's own convenient when method? Flutter › State Management with Riverpod | Flutter | State Management with Riverpod | Intermediate |
| 70 | How should you properly and correctly avoid calling setState after a StatefulWidget's own associated State object has genuinely already been disposed of, such as after an asynchronous operation genuinely completes following a user having already navigated away? Flutter › State Management with setState | Flutter | State Management with setState | Intermediate |
| 71 | How do you write an effective test for asynchronous code? JavaScript › Debugging, Testing & Tooling | JavaScript | Debugging, Testing & Tooling | Advanced |
| 72 | How does async/await map onto the microtask queue under the hood? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |
| 73 | How were generators historically used to write asynchronous code before async/await existed? JavaScript › Iterators & Generators | JavaScript | Iterators & Generators | Advanced |
| 74 | How would you implement a custom EventHandler using async/await, avoiding the common 'async void' anti-pattern while still matching the standard EventHandler delegate signature? C# › Delegates, Events & Lambdas | C# | Delegates, Events & Lambdas | Advanced |
| 75 | How does exception handling interact with async/await, and how are exceptions from an async Task propagated to the awaiting caller? C# › Exception Handling | C# | Exception Handling | Advanced |
| 76 | How do you correctly implement async, cancellable file I/O using CancellationToken with FileStream operations? C# › File I/O & Streams | C# | File I/O & Streams | Advanced |
| 77 | How would you combine yield return with async/await to build an IAsyncEnumerable<T>-producing async iterator method? C# › Iterators & yield return | C# | Iterators & yield return | Advanced |
| 78 | 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 |
| 79 | How do you write a decorator that works correctly on an async function (coroutine), given that a regular decorator's wrapper would break 'await' usage? Python › Decorators | Python | Decorators | Advanced |
| 80 | How would you implement asynchronous file I/O using aiofiles alongside an async context manager, to avoid blocking the event loop during file operations? Python › File I/O & Context Managers | Python | File I/O & Context Managers | Advanced |
| 81 | 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 |
| 82 | 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 |
| 83 | What is the AsyncLocalStorage API, and what problem does it solve for tracking context across asynchronous calls? Node.js › Advanced Node.js | Node.js | Advanced Node.js | Advanced |
| 84 | How do you write custom Express middleware that needs to perform asynchronous work, like checking a value against a database, before calling next()? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 85 | How can you properly and safely use a BuildContext across an asynchronous gap, such as directly after an await statement, without genuinely risking using a context that has since actually genuinely become invalid because its own underlying widget was already disposed of in the meantime? Flutter › Flutter Widget Tree, Element Tree & BuildContext | Flutter | Flutter Widget Tree, Element Tree & BuildContext | Advanced |
| 86 | What does the GetOrCreateAsync pattern accomplish when working with IMemoryCache, and why is it preferred over separate TryGetValue/Set calls? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Beginner |
| 87 | What does calling host.Run() versus host.RunAsync() do, and when would you use each? .NET › Generic Host | .NET | Generic Host | Beginner |
| 88 | How should exceptions be handled inside a BackgroundService's ExecuteAsync loop to prevent the entire service from crashing silently? .NET › Background Services | .NET | Background Services | Intermediate |
| 89 | What is the significance of the order of AddHostedService registrations relative to StartAsync execution, and can you control it? .NET › Background Services | .NET | Background Services | Intermediate |
| 90 | What are Blazor component lifecycle methods, and what is the purpose of OnInitializedAsync versus OnParametersSetAsync? .NET › Blazor (Server & WebAssembly) | .NET | Blazor (Server & WebAssembly) | Intermediate |
| 91 | What is the difference between IAuthenticationService's SignInAsync/SignOutAsync methods and simply checking if a user 'is authenticated'? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Intermediate |
| 92 | How would you make an asynchronous, non-blocking HTTP request using HttpClient's sendAsync() method, and how does the returned CompletableFuture integrate with the rest of an asynchronous pipeline? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Intermediate |
| 93 | What is the difference between synchronous and asynchronous versions of the same core Node.js API, using fs.readFile vs fs.readFileSync as an example, and when is the synchronous version actually appropriate? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Intermediate |
| 94 | How do middleware, such as Redux Thunk, help handle asynchronous operations like API calls in Redux? React › State Management Libraries (Redux, Zustand & Recoil) | React | State Management Libraries (Redux, Zustand & Recoil) | Intermediate |
| 95 | How does the async pipe simplify working with observables directly in an Angular template? Angular › Pipes (Built-in & Custom) | Angular | Pipes (Built-in & Custom) | Intermediate |
| 96 | How would you test a server component that fetches data asynchronously? Next.js › Testing Next.js Applications | Next.js | Testing Next.js Applications | Intermediate |
| 97 | How would you write a mapped type that converts every method on an interface into a Promise-returning async version, for a mock or proxy implementation? TypeScript › Mapped Types | TypeScript | Mapped Types | Advanced |
| 98 | How does control-flow-based narrowing interact with strictNullChecks across an async function's awaited boundaries? TypeScript › Nullability: strictNullChecks, Optional Chaining & Nullish Coalescing | TypeScript | Nullability: strictNullChecks, Optional Chaining & Nullish Coalescing | Advanced |
| 99 | How does the middleware pipeline interact with asynchronous streaming responses, and what precautions are needed? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Advanced |
| 100 | What is IHostedLifecycleService, and how does it provide more granular hooks than IHostedService's StartAsync/StopAsync? .NET › Background Services | .NET | Background Services | Advanced |
| 101 | How does the DI container's disposal behavior work for IDisposable and IAsyncDisposable services across different lifetimes? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 102 | How does graceful shutdown work for a BackgroundService, and how should ExecuteAsync respect the CancellationToken? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 103 | How do CompletableFuture's composition methods (thenApply, thenCompose, thenCombine) enable building asynchronous pipelines, and what's the difference between thenApply and thenCompose? Java › Concurrency & Threads | Java | Concurrency & Threads | Advanced |
| 104 | How would you implement asynchronous file I/O using AsynchronousFileChannel, and how does this differ from both the classic blocking java.io model and NIO's Selector-based non-blocking channels? Java › I/O & NIO | Java | I/O & NIO | Advanced |
| 105 | What is the role of Span<T> and Memory<T> in .NET, and why can't Span<T> be used inside an async method? C# › Arrays, Span<T> & Memory<T> | C# | Arrays, Span<T> & Memory<T> | Advanced |
| 106 | How would you use async_hooks (the lower-level predecessor to AsyncLocalStorage) to trace the lifecycle of asynchronous resources in Node.js? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Advanced |
| 107 | How would you create a custom asynchronous validator that checks something against a server, such as whether a username is already taken? Angular › Forms | Angular | Forms | Advanced |
| 108 | How do NgRx Effects let you handle asynchronous operations, like an API call, in response to a dispatched action? Angular › NgRx State Management | Angular | NgRx State Management | Advanced |
| 109 | How would you reduce Cumulative Layout Shift on a page that loads ads, images, and web fonts asynchronously? Next.js › Web Vitals & Performance Monitoring | Next.js | Web Vitals & Performance Monitoring | Advanced |
| 110 | How do you decide between synchronous commit mode and asynchronous commit mode for a specific replica in an Always On Availability Group? SQL Server › Always On Availability Groups | SQL Server | Always On Availability Groups | Advanced |
| 111 | What are the tradeoffs between using synchronous and asynchronous client libraries when connecting an application to Redis? Redis › Connection Pooling & Client Libraries | Redis | Connection Pooling & Client Libraries | Advanced |
| 112 | How should an application handle email sending failures gracefully, and why is sending emails asynchronously through a queue often preferred over sending them directly during a web request? PHP › Email Sending in PHP (PHPMailer & SMTP) | PHP | Email Sending in PHP (PHPMailer & SMTP) | Advanced |
| 113 | How can you properly implement debounced asynchronous validation for a specific field, such as checking username availability against a server, without triggering a genuinely brand new separate network request on essentially every single individual keystroke a user actually types? Flutter › Forms & Input Validation in Flutter | Flutter | Forms & Input Validation in Flutter | Advanced |
| 114 | What is a callback function in Node.js, and what is 'callback hell'? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |
| 115 | What is a Promise in JavaScript, and what are its three possible states? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |
| 116 | How do you convert a Node.js callback-based function into a Promise-based one manually, without using util.promisify()? Node.js › Async Patterns | Node.js | Async Patterns | Beginner |
| 117 | What is the difference between Promise.all(), Promise.allSettled(), Promise.race(), and Promise.any()? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 118 | What is util.promisify(), and when would you still need it in modern Node.js? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 119 | What is the difference between Task and Task<T>? C# › Asynchronous Programming | C# | Asynchronous Programming | Beginner |
| 120 | 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 |
| 121 | How do you create and run a basic thread using the threading module? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Beginner |
| 122 | What is a Future in Dart, and how does it represent a value that will not actually be available until some point later in time? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Beginner |
| 123 | What does ConfigureAwait(false) do? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 124 | What is the ReadableStream API used for? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Intermediate |
| 125 | Why does calling .Result or .Wait() on a Task risk causing a deadlock, particularly in ASP.NET (non-Core) or UI applications? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 126 | What does ConfigureAwait(false) do, and when is it appropriate to use? C# › Asynchronous Programming | C# | Asynchronous Programming | Intermediate |
| 127 | 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 |
| 128 | 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 |
| 129 | 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 |
| 130 | What is a race condition, and how does it differ from a deadlock? Python › Concurrency (asyncio/threading/multiprocessing) | Python | Concurrency (asyncio/threading/multiprocessing) | Intermediate |
| 131 | What is the difference between micro tasks and macro tasks in Node.js's event loop, and how does this affect Promise callback ordering? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 132 | What is Swoole, and how does it extend PHP with built in support for coroutines and high performance networking? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Intermediate |
| 133 | Why can .Result or .Wait() deadlock, and what's the fix? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 134 | How do you design for scalability and avoid thread-pool starvation? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 135 | What's the difference between piping streams with pipeThrough() and pipeTo()? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 136 | What is ValueTask<T> and when should you use it instead of Task<T> for performance? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 137 | 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 |
| 138 | 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 |
| 139 | What is the difference between Task and Thread in C#, and when would you deliberately choose one over the other? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 140 | What is ValueTask<T> in C#, and when does it actually provide a meaningful performance benefit over Task<T>? C# › Asynchronous Programming | C# | Asynchronous Programming | Advanced |
| 141 | What is the difference between an unhandled promise rejection and an uncaught exception in Node.js, and how does Node handle each by default? Node.js › Async Patterns | Node.js | Async Patterns | Advanced |
| 142 | How can improper use of unawaited Futures introduce subtle bugs, such as a race condition or an unhandled error, into a Flutter application, and how does the unawaited function help make this deliberate choice explicit? Flutter › Dart Asynchronous Programming (Future & async/await) | Flutter | Dart Asynchronous Programming (Future & async/await) | Advanced |
| 143 | What does the finally block do? JavaScript › Error Handling | JavaScript | Error Handling | Beginner |
| 144 | Can you use a for...of loop directly on a generator's return value? JavaScript › Iterators & Generators | JavaScript | Iterators & Generators | Beginner |
| 145 | How do you read and write an entire text file's contents using the simplest File class methods? C# › File I/O & Streams | C# | File I/O & Streams | Beginner |
| 146 | What exception signals the end of iteration, and how does a for-loop use it internally? Python › Iterators & the Iterator Protocol | Python | Iterators & the Iterator Protocol | Beginner |
| 147 | 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 |
| 148 | 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 |
| 149 | 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 |
| 150 | What is a background job in the context of a Node.js web application, and why can't long-running work simply happen inside a request handler? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Beginner |
| 151 | What is the difference between a delayed job and a scheduled (repeatable) job in a Node.js job queue? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Beginner |
| 152 | What is the difference between throwing an error synchronously and calling a callback with an error as its first argument in Node.js? Node.js › Error Handling | Node.js | Error Handling | Beginner |
| 153 | What is the event loop, and why does it allow Node.js to handle many concurrent operations despite being single-threaded? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Beginner |
| 154 | What is a callback queue (or task queue) in the context of the Node.js event loop, and how does it relate to the call stack? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Beginner |
| 155 | What is the difference between the synchronous, callback-based, and promise-based variants of Node's fs module methods? Node.js › File System (fs) Module | Node.js | File System (fs) Module | Beginner |
| 156 | What is a Stream in Dart, and how does it differ from a Future in terms of how many values it can actually provide over time? Flutter › Dart Streams & StreamControllers | Flutter | Dart Streams & StreamControllers | Beginner |
| 157 | Why is proper error handling important in a Flutter app, and what happens by default if an unhandled exception occurs somewhere within a running app? Flutter › Error Handling & Crash Reporting (Sentry & Crashlytics) | Flutter | Error Handling & Crash Reporting (Sentry & Crashlytics) | Beginner |
| 158 | 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 |
| 159 | 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 |
| 160 | What are the basic different provider types in Riverpod, such as Provider, StateProvider, and FutureProvider, and when would you specifically reach for each individual different one? Flutter › Flutter Riverpod Code Generation & Providers | Flutter | Flutter Riverpod Code Generation & Providers | Beginner |
| 161 | What is a platform channel in Flutter, and how does it let your Dart code actually communicate with genuine native Android or iOS code when a required specific capability is not already available through an existing plugin? Flutter › Platform Channels (Native Android & iOS Integration) | Flutter | Platform Channels (Native Android & iOS Integration) | Beginner |
| 162 | How do you run basic animations in MAUI? .NET MAUI › Gestures & Animations | .NET MAUI | Gestures & Animations | Intermediate |
| 163 | How do you run CPU-bound work without blocking the UI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 164 | How do you run basic animations in MAUI? .NET MAUI › Gestures & Animations | .NET MAUI | Gestures & Animations | Intermediate |
| 165 | How do you run CPU-bound work without blocking the UI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Intermediate |
| 166 | How does Jest's mocking help isolate the code under test? JavaScript › Debugging, Testing & Tooling | JavaScript | Debugging, Testing & Tooling | Intermediate |
| 167 | What is the difference between the microtask queue and the macrotask (task) queue? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Intermediate |
| 168 | How does the event loop decide what to run next? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Intermediate |
| 169 | How do you implement an infinite sequence using a generator, and why is this safe? JavaScript › Iterators & Generators | JavaScript | Iterators & Generators | Intermediate |
| 170 | How do you cancel an in-flight fetch() request? JavaScript › Networking: Fetch, XHR, WebSockets & CORS | JavaScript | Networking: Fetch, XHR, WebSockets & CORS | Intermediate |
| 171 | How does Memory<T> differ from Span<T>, and when would you use Memory<T> instead? C# › Arrays, Span<T> & Memory<T> | C# | Arrays, Span<T> & Memory<T> | Intermediate |
| 172 | What is exception filtering using the 'when' clause, and what advantage does it offer over catching and manually re-throwing? C# › Exception Handling | C# | Exception Handling | Intermediate |
| 173 | What is the relationship between generators and the iterator protocol? Python › Iterators & the Iterator Protocol | Python | Iterators & the Iterator Protocol | Intermediate |
| 174 | How do you include structured context (like a request ID) in every log message using LoggerAdapter or extra? Python › Logging | Python | Logging | Intermediate |
| 175 | How does Python's generational garbage collector work, and why generations? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Intermediate |
| 176 | What does the node:readline module provide, and what is a common use case for it? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Intermediate |
| 177 | How does inter-process communication (IPC) work between a parent process and a child created with fork()? Node.js › Child Processes & Process Management | Node.js | Child Processes & Process Management | Intermediate |
| 178 | How does the 'once' method differ from 'on' when subscribing to an EventEmitter's events, and when would you use it? Node.js › Events & EventEmitter | Node.js | Events & EventEmitter | Intermediate |
| 179 | How would you implement request correlation IDs to trace a single request's logs across multiple log lines and services? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Intermediate |
| 180 | How can a generator receive values sent into it during iteration using the send method, enabling two way communication with the calling code? PHP › Generators & Iterators | PHP | Generators & Iterators | Intermediate |
| 181 | How does properly configuring PHP-FPM's process management settings, such as pm.max_children, affect an application's ability to handle concurrent traffic efficiently? PHP › Performance Optimization & OPcache | PHP | Performance Optimization & OPcache | Intermediate |
| 182 | How does lazy loading versus eager loading of resources and how minimizing unnecessary work within a request's critical path help improve overall PHP application response times? PHP › Performance Optimization & OPcache | PHP | Performance Optimization & OPcache | Intermediate |
| 183 | How do you properly set up Flutter's global error handling using FlutterError.onError and PlatformDispatcher.instance.onError to automatically capture every uncaught error and forward it to a crash reporting service? Flutter › Error Handling & Crash Reporting (Sentry & Crashlytics) | Flutter | Error Handling & Crash Reporting (Sentry & Crashlytics) | Intermediate |
| 184 | How should you properly handle a genuine network timeout and other common network errors, such as no internet connectivity, when making a request using either the http or Dio packages? Flutter › Networking with HTTP & Dio | Flutter | Networking with HTTP & Dio | Intermediate |
| 185 | How do you properly implement request cancellation using Dio's own CancelToken, such as cancelling a search request the moment a user genuinely types a brand new different search query? Flutter › Networking with HTTP & Dio | Flutter | Networking with HTTP & Dio | Intermediate |
| 186 | How should you properly and correctly handle an error that genuinely occurs on the native side of a platform channel, and how does that particular error actually get properly reported back to your own Dart code? Flutter › Platform Channels (Native Android & iOS Integration) | Flutter | Platform Channels (Native Android & iOS Integration) | Intermediate |
| 187 | How do you cancel long-running operations in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 188 | How do you cancel long-running operations in MAUI? .NET MAUI › Concurrency & Threading | .NET MAUI | Concurrency & Threading | Advanced |
| 189 | How do global error handlers like window.onerror and unhandledrejection work? JavaScript › Error Handling | JavaScript | Error Handling | Advanced |
| 190 | How do you implement a retry-with-backoff pattern around a function that might throw? JavaScript › Error Handling | JavaScript | Error Handling | Advanced |
| 191 | How does top-level await work, and what constraint does it place on modules that import that module? JavaScript › ES Modules | JavaScript | ES Modules | Advanced |
| 192 | Why does Promise.resolve().then(cb) run before setTimeout(cb, 0), even with a 0ms delay? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |
| 193 | What is 'starvation' of the macrotask queue, and how can recursive microtasks cause it? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |
| 194 | How would you stream-parse a very large JSON file without loading it entirely into memory? JavaScript › JSON & Data Serialization | JavaScript | JSON & Data Serialization | Advanced |
| 195 | How do Server-Sent Events (SSE) differ from WebSockets, and when would you choose them? JavaScript › Networking: Fetch, XHR, WebSockets & CORS | JavaScript | Networking: Fetch, XHR, WebSockets & CORS | Advanced |
| 196 | How do you correctly and safely resolve a Scoped service from within a Singleton service using IServiceScopeFactory, avoiding the captive dependency problem? C# › Dependency Injection & IoC Principles | C# | Dependency Injection & IoC Principles | Advanced |
| 197 | What is 'exception filtering with side effects' and why is it considered a controversial but sometimes useful technique for logging? C# › Exception Handling | C# | Exception Handling | Advanced |
| 198 | How would you implement a thread-safe caching decorator that correctly handles concurrent calls from multiple threads? Python › Decorators | Python | Decorators | Advanced |
| 199 | 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 |
| 200 | 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 |
| 201 | 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 |
| 202 | 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 |
| 203 | Why is logging generally considered thread-safe, and what should you still be careful about in multiprocessing? Python › Logging | Python | Logging | Advanced |
| 204 | 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 |
| 205 | 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 |
| 206 | How would you diagnose a thread pool starvation issue in a production ASP.NET Core application? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Advanced |
| 207 | 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 |
| 208 | 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 |
| 209 | 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 |
| 210 | 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 |
| 211 | What is the difference between process.nextTick(), setImmediate(), and setTimeout(fn, 0) in terms of execution order? Node.js › Advanced Node.js | Node.js | Advanced Node.js | Advanced |
| 212 | How does the V8 JavaScript engine's microtask queue interact with the Node.js event loop's macrotask phases, and why does this occasionally surprise developers? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Advanced |
| 213 | How would you build an interactive CLI wizard that prompts the user for multiple pieces of input using a library like Inquirer.js? Node.js › CLI Tools & Scripting with Node.js | Node.js | CLI Tools & Scripting with Node.js | Advanced |
| 214 | How would you make an outgoing HTTP request from Node.js using the built-in fetch API versus the older http.request()? Node.js › HTTP & HTTPS Modules | Node.js | HTTP & HTTPS Modules | Advanced |
| 215 | How does connection pooling and persistent connections work with PDO, and what tradeoffs should be considered before enabling persistent connections? PHP › PDO & Databases | PHP | PDO & Databases | Advanced |
| 216 | How should a long running PHP CLI script, such as a queue worker, handle graceful shutdown when it receives a termination signal from the operating system? PHP › PHP CLI Scripting | PHP | PHP CLI Scripting | Advanced |
| 217 | What memory management considerations apply specifically to long running PHP CLI scripts, such as queue workers, that might process thousands of jobs without ever restarting? PHP › PHP CLI Scripting | PHP | PHP CLI Scripting | Advanced |
| 218 | 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 |
| 219 | How can you properly implement request deduplication to prevent several genuinely separate identical simultaneous requests for exactly the same particular data from all actually and wastefully hitting your backend server together at once? Flutter › REST API Integration in Flutter | Flutter | REST API Integration in Flutter | Advanced |
| 220 | How should you properly design your app's own networking layer to genuinely support parallel loading of several genuinely independent pieces of data needed for a single given screen, while still properly and gracefully handling the case where just one of those particular requests genuinely happens to fail? Flutter › REST API Integration in Flutter | Flutter | REST API Integration in Flutter | Advanced |