Add a button to an app

  1. Which of the following is an example of a class?

    Choose as many answers as you see fit.

  2. Which of the following is a difference between a class and an instance?

    Choose as many answers as you see fit.

  3. For each of the following types of information, select whether it should be part of a class or an instance.

    Each answer only matches one item.

    Information about properties shared by all "things" belonging to the class, such as number of sides, number of legs, or that it has a color.

    The specifics about a property, such as the specific color of a “thing” that can have a color.

  4. True or false? Every MainActivity class in Android must have a main() function.

  5. Which of the following is NOT a way for creating a comment in Kotlin?

    Choose as many answers as you see fit.

  6. Which of the following statements about a conditional statement is true?

    Choose as many answers as you see fit.

  7. What is a good reason for you to add comments to your code?

  8. Which of the following are Kotlin data types?

    Choose as many answers as you see fit.

  9. Which of the following are valid keywords used in conditional statements in Kotlin?

    Choose as many answers as you see fit.