> Documentation index: https://developer.android.com/courses/llms.txt

# Interacting with UI and state

<br />


Return to pathway
1.

   ## Jetpack Compose runs your composables for the first time, during ___ it will keep track of the composables that you call to describe your UI.

   Initial composition Recomposition State change App termination
2.

   ## The only way to modify a Composition is through recomposition.

   True False
3.

   ## ___ is when Jetpack Compose re-executes the composables that may have changed in response to data changes.

   Initial composition Recomposition State change App termination
4.

   ## ___ in an application is any value that can change over time.

   State value valueChange StateValue
5.

   ## ___ is a pattern of moving state up to make a component stateless.

   State change State hoisting Hoist composition Recomposition
6.

   ## Which `KeyboardAction` property is used to move the focus to the next composable?

   `onDone` `onNext` `onGo` `onSend`
7.

   ## Which of the following Kotlin functions is used to round up a Double or Float?

   `kotlin.math.ceilUp()` `kotlin.math.ceil()` `kotlin.math.roundDown()` `kotlin.math.roundUp()`
8.

   ## Layout Inspector is a tool in Jetpack Compose that allows you to inspect a Compose layout inside a running app in an emulator or physical device.

   True False
9.

   ## UI tests are stored in the ___ directory.

   main androidTest test res
10.

    ## Local tests and UI tests should be annotated with the ___ annotation.

    `@VisibleForTesting` `@Preview` `@Test` `@Composable`

<button class="button-primary devsite-quiz-submit-button" type="submit"> Submit answers </button>


*error_outline* An error occurred when grading the quiz. Please try again.