Get data from the internet

  1. With concurrent programming, code might execute in an order different from how it was written.

  2. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    The ___ thread is responsible for displaying the user interface responding to user input.

  3. Which of the following statements are true about coroutine contexts?

    Choose as many answers as you see fit.

  4. launch() and async() are extension functions of a ___, which keeps track of any coroutines it creates.

  5. Which of the following statements are true about structured concurrency and its best practices?

    Choose as many answers as you see fit.

  6. Which of the following statements are true about web services?

    Choose as many answers as you see fit.

  7. Retrofit is a third-party library that enables your app to make requests to a(n) ___ web service.

  8. One recommended way to perform a Retrofit network request is with a coroutine launched in the viewModelScope.

  9. To enable your app to make connections to the Internet, add the 'android.permission.INTERNET' permission in the ___ file.

  10. The process of turning a JSON result into usable data, as is done with Gson, is called JSON ___.