Languages quiz

  1. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    ___ are the recommended solution for asynchronous programming on Android with Kotlin.

  2. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    HWASan is based on ___ ___ and depends on the Top Byte Ignore feature present in all 64-bit ARM CPUs and the associated kernel support.

  3. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    Kotlin has two types of equality—structural and referential. Structural equality uses the ___ operator and calls equals() to determine if two instances are equal. Referential equality uses the ___ operator and checks if two references point to the same object.

  4. To make your Kotlin code more seamlessly callable from Java code, functions with parameters having a default value must use the annotation ___.
  5. Which keyword in Kotlin do you use to mark a class that holds data, such that the compiler will automatically derive the equals(), hashCode(), and toString() functions?
  6. Starting with Android Gradle Plugin 4.0, you can now use a number of newer Java language APIs even on older versions of the Android platform by enabling library desugaring. Which of the following APIs does desugaring add support for on older (API level 26 and lower) devices?