Q1What does the Elvis operator ?: do?Kotlin
Q2Which scope function returns the receiver object (not the lambda result)?Kotlin
Q3Why does an exhaustive `when` over a sealed type need no `else`?Kotlin
Q4What does `reified` require to work?Kotlin
Q5`List<out T>` expresses which kind of variance?Kotlin
Q6What does a Baseline Profile improve?Optimization
Q7A Composable re-runs on every recomposition even though its data looks unchanged. Most likely cause?Optimization
Q8Best key for a LazyColumn whose items can reorder or be deleted?Optimization
Q9What's the correct first step before optimizing performance?Optimization
Q10An ANR is most often caused by what?Optimization
Q11Which tool auto-detects retained objects and shows the reference chain in debug builds?Optimization
Q12Why prefer an Android App Bundle (AAB) over a universal APK?Optimization
Q13What does on-device inference primarily buy you?On-Device AI
Q14How do apps typically access Gemini Nano on Android?On-Device AI
Q15Why quantize an on-device model (e.g. int4/int8)?On-Device AI
Q16Best way to ship a multi-hundred-MB on-device model?On-Device AI
Q17In Kotlin, `a == b` on two data class instances compares…Kotlin
Q18What does a @JvmInline value class primarily provide?Kotlin
Q19Edge-to-edge layouts should pad around system bars using…Optimization
Q20Excessive 'red' in the Debug GPU Overdraw tool indicates…Optimization
Q21Why batch token emissions when streaming an on-device LLM into Compose?On-Device AI
Q22Gemini Nano is hosted by which Android system component?On-Device AI
Q23In a coroutineScope, one child throws. What happens to the siblings?Coroutines
Q24Why is `catch (e: Exception)` around a suspend call risky?Coroutines
Q25Which operator cancels the previous inner flow when a new value arrives?Coroutines
Q26flowOn(Dispatchers.IO) affects which part of the chain?Coroutines
Q27What makes coroutine cancellation actually stop a tight CPU loop?Coroutines
Q28Which emits whenever ANY source emits, pairing with the latest of the others?Coroutines
Q29What is mandatory inside callbackFlow to avoid leaking the listener?Coroutines
Q30Why prefer Mutex.withLock over synchronized inside a coroutine?Coroutines
Q31A Channel-based event delivers each event to…Coroutines
Q32Where does an exception from `async` surface?Coroutines
Q33Reading scroll offset only inside Modifier.offset { } lambda avoids what?Compose
Q34Why might a Composable taking List<T> never be skipped?Compose
Q35You need the latest onClick lambda inside a long-running keyed effect without restarting it. Use…Compose
Q36derivedStateOf is the right tool when…Compose
Q37Which launches a coroutine from a button's onClick?Compose
Q38Modifier.padding(16.dp).background(Blue) vs .background(Blue).padding(16.dp) differ because…Compose
Q39Which collects ViewModel StateFlow with lifecycle awareness in Compose?Compose
Q40Why prefer LazyColumn over Column(verticalScroll) for a long list?Compose
Q41A ViewModel survives rotation but loses state after the OS kills the backgrounded app. The fix?Framework
Q42Why observe LiveData/Flow with viewLifecycleOwner in a Fragment?Framework
Q43Which work API guarantees execution across process death and reboot with constraints?Framework
Q44User taps Refresh 10 times. How do you avoid 10 queued sync jobs?Framework
Q45When is a foreground Service the right choice?Framework
Q46Why won't a manifest-registered receiver fire for most implicit broadcasts on modern Android?Framework
Q47Which Hilt annotation efficiently binds an interface to its implementation?DI
Q48Two bindings of the same type cause a Hilt build error. The fix?DI
Q49Why prefer constructor injection over field injection?DI
Q50A Room @Query returning Flow<List<T>> does what when the table changes?Data
Q51Main reason DataStore is preferred over SharedPreferences?Data
Q52Which Paging 3 component implements offline-first network+DB paging?Data
Q53What makes coroutine tests deterministic?Testing
Q54Which library asserts Flow emissions with awaitItem()?Testing
Q55Compose UI tests assert against what?Testing
Q56Why migrate annotation processing from kapt to KSP?Gradle
Q57Defaulting to `implementation` over `api` mainly buys you…Gradle
Q58A feature works in debug but crashes in release with a 'class not found'. Likely cause?Gradle