1. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    The ___ thread, sometimes called the UI thread, is responsible for updating the screen in an Android app.

  2. Which of the following are some of the pitfalls of directly using threads in your code?

    Choose as many answers as you see fit.

  3. Which of the following is true about coroutines?
  4. True or False: If a function already calls a suspend function, then it does not need to be marked as a suspend function itself.
  5. Which of the following are suspend functions?.

    Choose as many answers as you see fit.

  6. Which of the following are false about async() and runBlocking()?
  7. True or False: In most apps, you would create coroutines using the global scope.
  8. What is responsible for determining which thread is used behind the scenes by a coroutine?
  9. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    A ___ is similar to a promise or future in other languages and serves as a placeholder for a return value.

  10. True or False: A Job is a cancelable unit of work performed by a coroutine.