Coroutines interview questions

15 real Coroutines questions from the Kotlin bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is suspend function?

Junior
  1. A.objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  2. B.the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  3. C.a coroutine starter that returns a Deferred whose value is retrieved by awaiting it
  4. D.a function marked so it can pause and resume without blocking the underlying thread
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.suspend function — the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  2. B.suspend function — a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  3. C.suspend function — a function marked so it can pause and resume without blocking the underlying thread
  4. D.suspend function — objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
Reveal the answer + AI explanation — free account

4. What is launch builder?

Mid
  1. A.the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  2. B.a function marked so it can pause and resume without blocking the underlying thread
  3. C.a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  4. D.a coroutine starter that returns a Deferred whose value is retrieved by awaiting it
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.launch builder — a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  2. B.launch builder — a coroutine starter that returns a Deferred whose value is retrieved by awaiting it
  3. C.launch builder — a function marked so it can pause and resume without blocking the underlying thread
  4. D.launch builder — objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
Reveal the answer + AI explanation — free account

7. What is async builder?

Mid
  1. A.a coroutine starter that returns a Deferred whose value is retrieved by awaiting it
  2. B.the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  3. C.objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  4. D.a coroutine starter that fires a job without returning a result, used for fire-and-forget work
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.async builder — a coroutine starter that returns a Deferred whose value is retrieved by awaiting it
  2. B.async builder — objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  3. C.async builder — a function marked so it can pause and resume without blocking the underlying thread
  4. D.async builder — a coroutine starter that fires a job without returning a result, used for fire-and-forget work
Reveal the answer + AI explanation — free account

10. What is Dispatchers?

Mid
  1. A.the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  2. B.a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  3. C.a function marked so it can pause and resume without blocking the underlying thread
  4. D.objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Dispatchers — the principle that child coroutines are bound to a scope so cancellation and completion propagate together
  2. B.Dispatchers — objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  3. C.Dispatchers — a function marked so it can pause and resume without blocking the underlying thread
  4. D.Dispatchers — a coroutine starter that fires a job without returning a result, used for fire-and-forget work
Reveal the answer + AI explanation — free account

13. What is Structured concurrency?

Senior
  1. A.objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  2. B.a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  3. C.a function marked so it can pause and resume without blocking the underlying thread
  4. D.the principle that child coroutines are bound to a scope so cancellation and completion propagate together
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Structured concurrency — objects that decide which thread or pool a coroutine runs on, such as the IO or Main variants
  2. B.Structured concurrency — a function marked so it can pause and resume without blocking the underlying thread
  3. C.Structured concurrency — a coroutine starter that fires a job without returning a result, used for fire-and-forget work
  4. D.Structured concurrency — the principle that child coroutines are bound to a scope so cancellation and completion propagate together
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Coroutines free