Q31. How does structured concurrency and cancellation work with coroutines?
A coroutine is cooperative: cancellation sets a flag that the coroutine must observe. Suspend functions from `kotlinx.coroutines` check automatically and throw `Cancellat...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (34 available).
A coroutine is cooperative: cancellation sets a flag that the coroutine must observe. Suspend functions from `kotlinx.coroutines` check automatically and throw `Cancellat...
.NET uses a generational, compacting, tracing collector. New objects go to generation 0. Survivors are promoted to gen 1 then gen 2. Gen 0 collections are frequent and ch...
`context.Context` carries deadlines, cancellation signals and request-scoped values across API boundaries and goroutines. It is how cancellation and timeouts propagate th...
Dimensions change over time: a customer moves city, a product changes category. A slowly changing dimension strategy decides how history is preserved. - Type 1: overwrite...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.