Intro To Programming Android Developers Merged
Intro To Programming Android Developers Merged
Intro to Programming
Let's do a quick test! You must answer at least 7 questions correctly to pass this quiz.
2. It is considered best practice to declare a variable that will not change using var instead of val .
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
check_box_outline_blank total - 1
4. In Kotlin, comments can be single or multi-line and are ignored by the compiler.
radio_button_unchecked False
radio_button_unchecked String
radio_button_checked Decimal Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-1/android-basics-compose-unit-1-pathway-1?continue=https… 1/4
01:08 02/02/2024 Intro to Programming | Android Developers
radio_button_unchecked Int
radio_button_unchecked Boolean
radio_button_unchecked False
check_box If a function does not specify a return type, the return type is Unit . Correct!
check_circle_outline
check_box_outline_blank Functions with a return type of Unit must include a return statement.
check_box A return value's type must match the return type of a function. Correct!
check_circle_outline
check_box Breaking up your code into separate functions makes your code easier to maintain. Correct!
check_circle_outline
10. With named arguments, you can change the order in which you pass arguments into a function.
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-1/android-basics-compose-unit-1-pathway-1?continue=https… 2/4
01:08 02/02/2024 Intro to Programming | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-1/android-basics-compose-unit-1-pathway-1?continue=https… 3/4
01:08 02/02/2024 Intro to Programming | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-1/android-basics-compose-unit-1-pathway-1?continue=https… 4/4
01:13 02/02/2024 Set up Android Studio | Android Developers
check_box It can help prevent typos and other mistakes in your code. Correct!
check_circle_outline
check_box It comes with a virtual device called an emulator that can run your app. Correct!
check_circle_outline
check_box It can show you a real-time preview of how your app will look on-screen while you code. Correct!
check_circle_outline
check_box_outline_blank It is the only way to build apps that can be previewed in Android Studio.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-2/android-basics-compose-unit-1-pathway-2?authuser=1&con… 1/4
01:13 02/02/2024 Set up Android Studio | Android Developers
check_box It makes building a new app less error-prone by pre-populating the project with some app code. Correct!
check_circle_outline
radio_button_unchecked A. Log out of Android Studio, and navigate to your project folder to find instructions.
radio_button_unchecked B. If you have a project already open, select File > New > New Project from the Android Studio menu.
radio_button_unchecked C. In the “Welcome to Android Studio” window, click “Start a new Android Studio project.”
radio_button_unchecked D. Create a new file on your computer, and title it “New Android Studio Project."
radio_button_checked Both B and C are ways to create a new project in Android Studio. Correct!
check_circle_outline
6. ___ is a function that is used to define a layout in your app using Composable functions.
radio_button_unchecked ComponentActivity()
radio_button_unchecked onCreate()
radio_button_unchecked DefaultPreview()
radio_button_checked setContent() Correct!
check_circle_outline
radio_button_unchecked False
8. A ___ is a Composable that has a background color and can contain other Composables.
radio_button_unchecked Color
radio_button_unchecked Container
radio_button_checked Surface Correct!
check_circle_outline
radio_button_unchecked Box
radio_button_unchecked Property
radio_button_unchecked Composable
radio_button_unchecked Attribute
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-2/android-basics-compose-unit-1-pathway-2?authuser=1&con… 2/4
01:13 02/02/2024 Set up Android Studio | Android Developers
radio_button_unchecked The Empty Compose Activity template is used to create a simple app.
radio_button_unchecked Layouts can be viewed in the Preview window, without actually running your app.
radio_button_checked All elements and themes in a Compose app are contained in a Surface. Correct!
check_circle_outline
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-2/android-basics-compose-unit-1-pathway-2?authuser=1&con… 3/4
01:13 02/02/2024 Set up Android Studio | Android Developers
(https:/
/develo Return to pathway (https://developer.android.com/courses/pathways/android-basics-comp
per.and
roid.co
m/cours View profile (https://developers.google.com/profile/u/105937894638304689837?authuser=1&
es/quizz
es/andr
oid-
basics-
compos
e-unit-
1-
pathwa
y-
2/androi
d-
basics-
compos
e-unit-
1-
pathwa
y-2?
authuse
r=1&con
tinue=ht
tps%3
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-2/android-basics-compose-unit-1-pathway-2?authuser=1&con… 4/4
01:15 02/02/2024 Build a basic layout | Android Developers
radio_button_unchecked False
radio_button_unchecked @Annotation
radio_button_unchecked @ComposableFunction
radio_button_checked @Composable Correct!
check_circle_outline
radio_button_unchecked @Preview
check_box_outline_blank Text
check_box Box Correct!
check_circle_outline
5. What is the tool window for importing, creating, managing, and using resources in your app?
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-3/android-basics-compose-unit-1-pathway-3?continue=https… 1/4
01:15 02/02/2024 Build a basic layout | Android Developers
6. Which class is an automatically generated class by Android that contains the IDs of all resources in the project.
8. What is the function parameter used to add accessibility text, used by talkback?
radio_button_unchecked accessibilityText
radio_button_unchecked contentText
radio_button_unchecked accessibilityDescription
radio_button_checked contentDescription Correct!
check_circle_outline
radio_button_unchecked False
10. What parameter is used to align the child element to the beginning of the parent?
radio_button_unchecked Alignment.End
radio_button_unchecked Alignment.Begin
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-3/android-basics-compose-unit-1-pathway-3?continue=https… 2/4
01:15 02/02/2024 Build a basic layout | Android Developers
radio_button_unchecked Alignment.Top
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-3/android-basics-compose-unit-1-pathway-3?continue=https… 3/4
01:15 02/02/2024 Build a basic layout | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
1-
pathwa
y-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-1-pathway-3/android-basics-compose-unit-1-pathway-3?continue=https… 4/4
01:18 02/02/2024 Kotlin fundamentals | Android Developers
Kotlin fundamentals
Let's do a quick test! You must answer at least 7 questions correctly to pass this quiz.
if (number % 10 == 0) {
println("Divisible by 10")
} else if (number == 5) {
println("Divisible by 5")
}
radio_button_unchecked true
radio_button_checked false Correct!
check_circle_outline
check_box x Correct!
== 5
check_circle_outline
check_box x Correct!
in 1..5
check_circle_outline
check_box x Correct!
is Int
check_circle_outline
check_box_outline_blank x % 5
radio_button_unchecked Abstraction
radio_button_checked Readability Correct!
check_circle_outline
radio_button_unchecked Inheritance
radio_button_unchecked Polymorphism
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-1/android-basics-compose-unit-2-pathway-1?continue=https… 1/3
01:18 02/02/2024 Kotlin fundamentals | Android Developers
5. The ___ keyword is used to call a method from the parent class.
radio_button_unchecked this
radio_button_checked super Correct!
check_circle_outline
radio_button_unchecked parent
radio_button_unchecked self
radio_button_unchecked Delegate
radio_button_unchecked Generic type
radio_button_checked Interface Correct!
check_circle_outline
radio_button_unchecked Subclass
8. The ___ operator allows you to call a method only if the object is non-null.
radio_button_unchecked .
radio_button_unchecked !!
radio_button_unchecked ?:
radio_button_checked ?. Correct!
check_circle_outline
radio_button_checked A function can be changed to another data type, and vice versa. Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-1/android-basics-compose-unit-2-pathway-1?continue=https… 2/3
01:18 02/02/2024 Kotlin fundamentals | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-1/android-basics-compose-unit-2-pathway-1?continue=https… 3/3
01:24 02/02/2024 Add a button to an app | Android Developers
radio_button_unchecked Button
radio_button_unchecked Text
radio_button_checked Image Correct!
check_circle_outline
radio_button_unchecked Icon
radio_button_unchecked False
3. Composable functions can store an object in memory using the ___ composable
radio_button_unchecked Column
radio_button_unchecked Modifier
radio_button_unchecked @Composable
4. The debugger allows you to inspect variables when code execution has been suspended.
radio_button_unchecked False
5. By using ___ values in a composable function, variables can be made into observables that schedule a
recomposition when their value is changed.
radio_button_unchecked remember
radio_button_unchecked Modifier
radio_button_unchecked @Composable
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-2/android-basics-compose-unit-2-pathway-2?continue=https… 1/3
01:24 02/02/2024 Add a button to an app | Android Developers
radio_button_unchecked Row
radio_button_unchecked Box
radio_button_checked Column Correct!
check_circle_outline
radio_button_unchecked Modifier
7. The ___ debugger feature allows you to navigate back up the call stack.
Results
You scored 7 out of 7. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-2/android-basics-compose-unit-2-pathway-2?continue=https… 2/3
01:24 02/02/2024 Add a button to an app | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
2-
Return to pathway (https://developer.android.com/courses/pathways/android-basics-comp
pathwa
y-
2/androi
d- View profile (https://developers.google.com/profile/u/105937894638304689837?utm_source
basics-
compos
e-unit-
2-
pathwa
y-2?
continu
e=https
%3A%2
F%2Fde
veloper.
android.
com%2
Fcourse
s%2Fpa
thways
%2Fand
roid-
basics-
compos
e-unit-
2-
pathwa
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-2/android-basics-compose-unit-2-pathway-2?continue=https… 3/3
01:26 02/02/2024 Interacting with UI and state | Android Developers
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.
radio_button_unchecked Recomposition
radio_button_unchecked State change
radio_button_unchecked App termination
radio_button_unchecked False
3. ___ is when Jetpack Compose re-executes the composables that may have changed in response to data changes.
radio_button_unchecked value
radio_button_unchecked valueChange
radio_button_unchecked StateValue
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-3/android-basics-compose-unit-2-pathway-3?continue=https… 1/4
01:26 02/02/2024 Interacting with UI and state | Android Developers
6. Which KeyboardAction property is used to move the focus to the next composable?
radio_button_unchecked onDone
radio_button_checked onNext Correct!
check_circle_outline
radio_button_unchecked onGo
radio_button_unchecked onSend
radio_button_unchecked kotlin.math.ceilUp()
radio_button_checked kotlin.math.ceil() Correct!
check_circle_outline
radio_button_unchecked kotlin.math.roundDown()
radio_button_unchecked 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.
radio_button_unchecked False
radio_button_unchecked main
radio_button_checked androidTest Correct!
check_circle_outline
radio_button_unchecked test
radio_button_unchecked res
10. Local tests and UI tests should be annotated with the ___ annotation.
radio_button_unchecked @VisibleForTesting
radio_button_unchecked @Preview
radio_button_checked @Test Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-3/android-basics-compose-unit-2-pathway-3?continue=https… 2/4
01:26 02/02/2024 Interacting with UI and state | Android Developers
radio_button_unchecked @Composable
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-3/android-basics-compose-unit-2-pathway-3?continue=https… 3/4
01:26 02/02/2024 Interacting with UI and state | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
2
https://developer.android.com/courses/quizzes/android-basics-compose-unit-2-pathway-3/android-basics-compose-unit-2-pathway-3?continue=https… 4/4
01:41 02/02/2024 More Kotlin fundamentals | Android Developers
2. When using a sealed class, all direct subclasses must be in the same package.
radio_button_unchecked false
3. When using generics, the generic data type goes inside ___.
radio_button_unchecked []
radio_button_unchecked {}
radio_button_unchecked ()
radio_button_checked <> Correct!
check_circle_outline
4. A(n) ___ class is useful when you have a fixed set of values.
radio_button_unchecked sealed
radio_button_unchecked data
radio_button_unchecked inherited
5. To create a list object that has the ability to change its size, you would call ___.
radio_button_unchecked modifiableListOf()
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-1/android-basics-compose-unit-3-pathway-1?continue=https… 1/4
01:41 02/02/2024 More Kotlin fundamentals | Android Developers
radio_button_unchecked immutableListOf()
radio_button_unchecked listOf()
radio_button_checked mutableListOf() Correct!
check_circle_outline
check_box_outline_blank arrangeBy
check_box filter Correct!
check_circle_outline
7. Given the following line of code, which of the following commands will print Blue ? (Hint: If you are not sure, try
running the code in the Kotlin Playground.)
check_box_outline_blank println(colors.contains(2))
check_box_outline_blank println(colors.getOrDefaultValue(index = 2, defaultValue = 10))
8. The programming concept of a class that has only one instance is called a ___.
radio_button_unchecked Uniqueness
radio_button_checked Singleton Correct!
check_circle_outline
radio_button_unchecked Mono-object
radio_button_unchecked Lambda
radio_button_checked A set must contain distinct values and a map’s keys must be distinct. Correct!
check_circle_outline
radio_button_unchecked A set must contain distinct values and a map’s keys can contain duplicates.
radio_button_unchecked A set can contain duplicate values and a map’s values can contain duplicate values.
radio_button_unchecked A set can contain duplicate values and a map’s keys must be distinct.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-1/android-basics-compose-unit-3-pathway-1?continue=https… 2/4
01:41 02/02/2024 More Kotlin fundamentals | Android Developers
10. If you have a variable named records , which is a collection, to determine the number of items it contains, you
can call ___.
radio_button_unchecked records.length
radio_button_unchecked records.quantity
radio_button_unchecked len(records)
radio_button_checked records.size Correct!
check_circle_outline
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-1/android-basics-compose-unit-3-pathway-1?continue=https… 3/4
01:41 02/02/2024 More Kotlin fundamentals | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
3-
pathwa
y-
1/androi
d-
basics-
compos
e-unit-
3-
pathwa
y-1?
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-1/android-basics-compose-unit-3-pathway-1?continue=https… 4/4
01:43 02/02/2024 Build a scrollable list | Android Developers
1. Adaptive launcher icons for Android apps consist of a foreground and background vector drawable.
radio_button_unchecked False
2. When building a UI that requires a scrolling list with a variable number of items, which Composable should you
use?
radio_button_unchecked Column
radio_button_unchecked Row
radio_button_checked LazyColumn Correct!
check_circle_outline
radio_button_unchecked Card
3. What file type is used for the launcher icon foreground and background vectors?
radio_button_unchecked .txt
radio_button_unchecked .jpg
radio_button_unchecked .png
radio_button_checked .xml Correct!
check_circle_outline
4. Which Composable should you use to create a vertically scrollable grid with an undetermined number of items?
radio_button_unchecked LazyColumn
radio_button_checked LazyVerticalGrid Correct!
check_circle_outline
radio_button_unchecked LazyHorizontalGrid
radio_button_unchecked Row
5. The Column composable is not a good option for a list of items of unknown quantity because ___.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-2/android-basics-compose-unit-3-pathway-2?continue=https… 1/3
01:43 02/02/2024 Build a scrollable list | Android Developers
radio_button_checked It can only hold a small, finite number of predefined items Correct!
check_circle_outline
radio_button_unchecked painterResource()
radio_button_unchecked Modifier.padding()
radio_button_checked items() Correct!
check_circle_outline
radio_button_unchecked onCreate()
radio_button_unchecked Column
radio_button_unchecked Card
radio_button_unchecked Image
radio_button_checked Row Correct!
check_circle_outline
radio_button_unchecked Card
radio_button_unchecked Image
radio_button_unchecked Row
Results
You scored 8 out of 8. Congratulations! You have passed this quiz.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-2/android-basics-compose-unit-3-pathway-2?continue=https… 2/3
01:43 02/02/2024 Build a scrollable list | Android Developers
Share
link
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
3-
pathwa
y-
2/androi
d-
basics-
compos
e-unit-
3-
pathwa
y-2?
continu
e=https
%3A%2
F%2Fde
veloper. Return to pathway (https://developer.android.com/courses/pathways/android-basics-comp
android.
com%2
Fcourse View profile (https://developers.google.com/profile/u/105937894638304689837?utm_source
s%2Fpa
thways
%2Fand
roid-
basics-
compos
e-unit-
3-
pathwa
y-
2%23qu
iz-
%2Fcou
rses%2
Fquizze
s%2Fan
droid-
basics-
compos
e-unit-
3-
pathwa
y-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-2/android-basics-compose-unit-3-pathway-2?continue=https… 3/3
01:45 02/02/2024 Build beautiful apps | Android Developers
radio_button_unchecked False
4. In the Material theming, the ___ color is the color displayed most frequently across your app's screens and
components.
radio_button_unchecked secondary
radio_button_unchecked surface
radio_button_unchecked background
radio_button_unchecked Theme.kt
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-3/android-basics-compose-unit-3-pathway-3?continue=https… 1/4
01:45 02/02/2024 Build beautiful apps | Android Developers
radio_button_unchecked Color.kt
radio_button_checked Shape.kt Correct!
check_circle_outline
radio_button_unchecked Colors.kt
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
7. A hex color code starts with a pound (#) character, and is followed by six letters and/or numbers that represent the
red, green, and blue (RGB) components of that color.
radio_button_unchecked False
8. The ___ file is the file that holds all the information about the theme of the app which is defined through color,
shape, and typography.
radio_button_unchecked Color.kt
radio_button_unchecked Shape.kt
radio_button_unchecked Colors.kt
9. ___ creates contrast between the Card and the background by adding a shadow to make the app look more
realistic and visually interesting?
radio_button_unchecked Shape
radio_button_unchecked Color
radio_button_unchecked Theme
10. What are reasons that someone may use Dark Theme on their device?
radio_button_unchecked It can reduce power usage by a significant amount (depending on the device’s screen technology).
radio_button_unchecked It improves visibility for users with low vision and those who are sensitive to bright light.
radio_button_unchecked It makes it easier for anyone to use a device in a low-light environment.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-3/android-basics-compose-unit-3-pathway-3?continue=https… 2/4
01:45 02/02/2024 Build beautiful apps | Android Developers
11. TalkBack allows a user to navigate an app using switches instead of the touchscreen.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
12. Which attribute allows TalkBack to speak a meaningful representation of an image or icon?
radio_button_unchecked elevation
radio_button_unchecked shape
radio_button_checked contentDescription Correct!
check_circle_outline
radio_button_unchecked style
Results
You scored 12 out of 12. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-3/android-basics-compose-unit-3-pathway-3?continue=https… 3/4
01:45 02/02/2024 Build beautiful apps | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
Return to pathway (https://developer.android.com/courses/pathways/android-basics-comp
basics-
compos
e-unit-
3-
View profile (https://developers.google.com/profile/u/105937894638304689837?utm_source
pathwa
y-
3/androi
d-
basics-
compos
e-unit-
3-
pathwa
y-3?
continu
e=https
%3A%2
F%2Fde
veloper.
android.
com%2
Fcourse
s%2Fpa
thways
%2Fand
roid-
basics-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-3-pathway-3/android-basics-compose-unit-3-pathway-3?continue=https… 4/4
01:49 02/02/2024 Architecture Components | Android Developers
Architecture Components
Let's do a quick test! You must answer at least 7 questions correctly to pass this quiz.
1. Which method is first called when the app no longer has focus?
radio_button_unchecked onStart()
radio_button_unchecked onCreate()
radio_button_unchecked onStop()
radio_button_unchecked onPause()
radio_button_unchecked onStart()
radio_button_unchecked onCreate()
radio_button_checked onStop() Correct!
check_circle_outline
3. Use ___ to write a debug message. This method takes two arguments: the log tag and the log message.
radio_button_unchecked Log.i()
radio_button_checked Log.d() Correct!
check_circle_outline
radio_button_unchecked Log.e()
radio_button_unchecked Log.w()
4. To save a value that needs to survive a configuration change, declare its variables with ___.
radio_button_unchecked MutableState{}
radio_button_checked rememberSaveable{} Correct!
check_circle_outline
radio_button_unchecked remember{}
radio_button_unchecked State Hoisting
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-1/android-basics-compose-unit-4-pathway-1?continue=https… 1/4
01:49 02/02/2024 Architecture Components | Android Developers
5. The separation of concerns design principle states that the app should be divided into classes, each with separate
responsibilities.
radio_button_unchecked False
6. The UI is what the user sees, while the UI state is what the app says they should see.
radio_button_unchecked False
7. According to the recommended app architecture, each application should have at least the following two layers:
8. StateFlow is a data-holder observable flow that emits the current and new state updates.
radio_button_unchecked False
9. Which of the following configurations should be added to the build.gradle file to add dependencies for the unit
test source code?
radio_button_unchecked implementation
radio_button_checked testImplementation Correct!
check_circle_outline
radio_button_unchecked debugImplementation
radio_button_unchecked androidTestImplementation
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-1/android-basics-compose-unit-4-pathway-1?continue=https… 2/4
01:49 02/02/2024 Architecture Components | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-1/android-basics-compose-unit-4-pathway-1?continue=https… 3/4
01:49 02/02/2024 Architecture Components | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-1/android-basics-compose-unit-4-pathway-1?continue=https… 4/4
01:53 02/02/2024 Navigation in Jetpack Compose | Android Developers
radio_button_unchecked NavRoute
radio_button_unchecked False
radio_button_unchecked False
4. ___ is a composable that manages which screen is displayed based on a given route.
radio_button_unchecked NavController
radio_button_unchecked NavHostController
radio_button_checked NavHost Correct!
check_circle_outline
radio_button_unchecked ComposableNavigator
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-2/android-basics-compose-unit-4-pathway-2?continue=https… 1/4
01:53 02/02/2024 Navigation in Jetpack Compose | Android Developers
6. You can change the currently displayed route using the ___ method.
radio_button_unchecked update()
radio_button_unchecked composable()
radio_button_unchecked transition()
radio_button_checked navigate() Correct!
check_circle_outline
7. The ___ method removes one or more screens from the backstack.
radio_button_unchecked popToStartDestination()
radio_button_checked popBackStack() Correct!
check_circle_outline
radio_button_unchecked popComposable()
radio_button_unchecked popToBackStack()
8. In a multi-screen app, navigating to a new screen puts it on the bottom of the backstack.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
radio_button_unchecked arguments
radio_button_checked extras Correct!
check_circle_outline
radio_button_unchecked parameters
radio_button_unchecked properties
10. StateFlow is a data-holder observable flow that emits the current and new state updates.
radio_button_unchecked False
11. Which of the following are true about the Back and Up buttons?
Choose as many answers as you see fit.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-2/android-basics-compose-unit-4-pathway-2?continue=https… 2/4
01:53 02/02/2024 Navigation in Jetpack Compose | Android Developers
check_box_outline_blank The Up button is provided by the system at the bottom of the screen
check_box_outline_blank The Back button is part of the AppBar
check_box_outline_blank The Up button in the AppBar automatically navigates to the previous screen.
check_box_outline_blank The Back button only appears if you use navigation.
check_box The Up button can be shown or hidden, depending on the current screen. Correct!
check_circle_outline
Results
You scored 11 out of 11. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-2/android-basics-compose-unit-4-pathway-2?continue=https… 3/4
01:53 02/02/2024 Navigation in Jetpack Compose | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
4-
pathwa
y-
2/androi
d-
basics-
compos
e-unit-
4-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-2/android-basics-compose-unit-4-pathway-2?continue=https… 4/4
01:58 02/02/2024 Adaptive layouts | Android Developers
Adaptive layouts
Let's do a quick test! You must answer at least 7 questions correctly to pass this quiz.
1. The ___ composable is used to respond to the Back button, with or without a NavHost .
radio_button_unchecked BackButton
radio_button_checked BackHandler Correct!
check_circle_outline
radio_button_unchecked BackNavigator
radio_button_unchecked BackStack
2. Which of the following are true about designing for larger screens?
Choose as many answers as you see fit.
check_box_outline_blank Usually no changes are needed to the UI layout to make the app work well for larger screen sizes.
check_box Adding another layout to the same screen removes the need to navigate between screens. Correct!
check_circle_outline
check_box Large screen layouts should avoid placing commonly used buttons in the center of the screen. Correct!
check_circle_outline
3. A ___ is a specific measurement of width or height where an app's layout should change.
4. The compact width window size class generally refers to smaller devices, such as phones in portrait mode.
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-3/android-basics-compose-unit-4-pathway-3?continue=https… 1/3
01:58 02/02/2024 Adaptive layouts | Android Developers
radio_button_unchecked SizeClass
radio_button_unchecked WindowSizeState
radio_button_unchecked SizeBucket
radio_button_checked WindowSizeClass Correct!
check_circle_outline
radio_button_unchecked compact
radio_button_unchecked standard
radio_button_checked medium Correct!
check_circle_outline
radio_button_unchecked expanded
7. When building apps with adaptive layouts, you should use a single preview for each screen.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
8. The list-detail layout requires Back navigation on compact screens, but not on screens where both the list and
detail screens are shown at once.
radio_button_unchecked False
9. Assume you have a contacts app that displays a list of contacts and has details to show for each contact. What are
appropriate ways to adapt the UI to different screen sizes?
radio_button_checked Use the list-detail layout to show one pane or two panes side-by-side depending on the available width of the screen. Correct!
check_circle_outline
radio_button_unchecked The list items should take up the full width of the screen, regardless of how narrow or wide the screen is.
radio_button_unchecked The Up button should always be shown within the app and clicking the button should exit the app.
radio_button_unchecked When rotating the device, the selected item in the list (and the corresponding details of that item shown) should be reset to the first item in the list.
radio_button_unchecked It’s required to use the Jetpack Navigation Component to make the UI responsive to different screen sizes.
10. Tests can be configured to run only test functions with custom annotations by configuring the ___.
radio_button_unchecked module
radio_button_unchecked package
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-3/android-basics-compose-unit-4-pathway-3?continue=https… 2/3
01:58 02/02/2024 Adaptive layouts | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-4-pathway-3/android-basics-compose-unit-4-pathway-3?continue=https… 3/3
02:02 02/02/2024 Get data from the internet | Android Developers
1. With concurrent programming, code might execute in an order different from how it was written.
radio_button_unchecked False
2. Fill-in-the-blanks
Enter one or more words to complete the sentence.
The BackHandler composable is used to respond to the Back button, with or without a NavHost.
Incorrect.
not_interested
check_box_outline_blank Dispatchers.Default is the best choice for long running tasks involving reading and writing large amounts of data.
check_box Dispatchers.Main can be used for updating the UI but not for long-running tasks. Correct!
check_circle_outline
check_box Dispatchers.IO is optimized for network I/O, among other background tasks. Correct!
check_circle_outline
4. launch() and async() are extension functions of a ___, which keeps track of any coroutines it creates.
radio_button_unchecked Job
radio_button_unchecked Dispatcher
radio_button_unchecked CoroutineContext
5. Which of the following statements are true about structured concurrency and its best practices?
Choose as many answers as you see fit.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-1/android-basics-compose-unit-5-pathway-1?continue=https… 1/3
02:02 02/02/2024 Get data from the internet | Android Developers
check_box_outline_blank A parent scope can complete before one or more of its children are completed.
check_box_outline_blank A failure should propagate downward without canceling the parent coroutine.
check_box Coroutines must be launched from a coroutine scope. Correct!
check_circle_outline
check_box GET, POST, and DELETE are all examples of HTTP operations. Correct!
check_circle_outline
check_box A URL is a type of URI but not all URIs are URLs. Correct!
check_circle_outline
7. Retrofit is a third-party library that enables your app to make requests to a(n) ___ web service.
radio_button_unchecked XML
radio_button_unchecked Socket
radio_button_checked RESTful Correct!
check_circle_outline
radio_button_unchecked JSON
8. One recommended way to perform a Retrofit network request is with a coroutine launched in the
viewModelScope .
radio_button_unchecked False
9. To enable your app to make connections to the Internet, add the ' android.permission.INTERNET ' permission in
the ___ file.
radio_button_unchecked MainActivity
radio_button_unchecked build.gradle
radio_button_checked Android manifest Correct!
check_circle_outline
radio_button_unchecked ViewModel
10. The process of turning a JSON result into usable data, as is done with Gson, is called JSON ___.
radio_button_unchecked Serialization
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-1/android-basics-compose-unit-5-pathway-1?continue=https… 2/3
02:02 02/02/2024 Get data from the internet | Android Developers
radio_button_unchecked Encoding
radio_button_unchecked Converting
radio_button_checked Parsing Correct!
check_circle_outline
Results
You scored 9 out of 10. Congratulations! You have passed this quiz.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-1/android-basics-compose-unit-5-pathway-1?continue=https… 3/3
02:03 02/02/2024 Load and display images from the internet | Android Developers
radio_button_unchecked GET
radio_button_unchecked POST
radio_button_unchecked DELETE
radio_button_checked SET Correct!
check_circle_outline
2. The response from a REST web service is commonly formatted in one of the common data transfer formats like
XML or JSON.
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-2/android-basics-compose-unit-5-pathway-2?continue=https… 1/4
02:03 02/02/2024 Load and display images from the internet | Android Developers
6. Following Android’s recommended app architecture guidelines, an app should have which of the following:
radio_button_unchecked A UI Layer
radio_button_unchecked A Domain Layer
radio_button_checked A Data Layer Correct!
check_circle_outline
7. The advantages of using Dependency Injection (DI) in your app include which of the following:
Choose as many answers as you see fit.
8. If your app has more than one type of data source, they should all be stored in the same repository for ease of use.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
9. Which of the following is used to replace the Main dispatcher with a TestDispatcher in a local unit test:
radio_button_unchecked runTest
radio_button_unchecked runBlocking
radio_button_unchecked Distpatchers.resetMain()
radio_button_checked Dispatchers.setMain() Correct!
check_circle_outline
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-2/android-basics-compose-unit-5-pathway-2?continue=https… 2/4
02:03 02/02/2024 Load and display images from the internet | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-2/android-basics-compose-unit-5-pathway-2?continue=https… 3/4
02:03 02/02/2024 Load and display images from the internet | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-2/android-basics-compose-unit-5-pathway-2?continue=https… 4/4
02:06 02/02/2024 Introduction to SQL | Android Developers
Introduction to SQL
Let's do a quick test! You must answer at least 7 questions correctly to pass this quiz.
1. Which of the following statements are true about relational databases and SQLite?
Choose as many answers as you see fit.
check_box Referencing one table's primary key in another table lets you model relationships between tables. Correct!
check_circle_outline
check_box_outline_blank A SQLite database consists of columns, which consist of tables and rows.
check_box_outline_blank Every data table must have at least one foreign key.
check_box Rows contain the individual items in the database. Correct!
check_circle_outline
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
3. If you want to calculate the sum of all values for a database column, what do you use?
4. Which SELECT statement returns the number of unique email addresses for messages in the spam folder?
5. The SQL statement SELECT * FROM contacts WHERE name LIKE '%Milton' returns all rows where the value of
the name column begins with Milton .
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-1/android-basics-compose-unit-6-pathway-1?continue=https… 1/4
02:06 02/02/2024 Introduction to SQL | Android Developers
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
6. Which of the following statements are true about GROUP BY and ORDER BY ?
Choose as many answers as you see fit.
7. The WHERE condition NOT read = false and the WHERE condition read != true are equivalent.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
radio_button_unchecked 60 rows
radio_button_unchecked Rows 31 through 60
radio_button_checked Rows 61 through 90 Correct!
check_circle_outline
radio_button_unchecked 90 rows
radio_button_unchecked WHERE
radio_button_checked SET Correct!
check_circle_outline
radio_button_unchecked ASSIGN
radio_button_unchecked LIKE
10. UPDATE and DELETE statements can include a WHERE clause and can affect multiple rows.
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-1/android-basics-compose-unit-6-pathway-1?continue=https… 2/4
02:06 02/02/2024 Introduction to SQL | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-1/android-basics-compose-unit-6-pathway-1?continue=https… 3/4
02:06 02/02/2024 Introduction to SQL | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-1/android-basics-compose-unit-6-pathway-1?continue=https… 4/4
02:11 02/02/2024 Use Room for data persistence | Android Developers
1. Which of the following statements is not true about the @Query annotation?
radio_button_unchecked DAO functions use annotations like @Insert and @Update that correspond to an operation on the database.
radio_button_unchecked DAO functions can return a flow.
radio_button_unchecked Instances of DAO classes are referenced in the AppDatabase class.
radio_button_checked All of the above Correct!
check_circle_outline
3. The Database class, inheriting from the RoomDatabase class, is responsible for ___.
radio_button_checked Instantiating the database and providing access to the DAO. Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-2/android-basics-compose-unit-6-pathway-2?authuser=1&con… 1/4
02:11 02/02/2024 Use Room for data persistence | Android Developers
5. Why do you need to use the synchronized() function when you create the database?
Choose as many answers as you see fit.
check_box It ensures only one thread can enter the block of code at once. Correct!
check_circle_outline
6. You can use the @Insert and @Delete annotations without providing a SQL statement.
radio_button_unchecked False
7. Fill-in-the-blanks
Enter one or more words to complete the sentence.
To handle conflicts when inserting into a database, you can pass a(n) OnConflictStrategy parameter, such as IGNORE, to the @Insert
annotation.
Incorrect.
not_interested
8. Select all the statements that are true about the Database Inspector:
Choose as many answers as you see fit.
check_box It lets you inspect, query, and modify your app's databases while your app is running. Correct!
check_circle_outline
check_box_outline_blank It works with other SQLite libraries that you bundle with your app.
check_box It is especially useful for database debugging. Correct!
check_circle_outline
check_box It works with plain SQLite and with libraries built on top of SQLite, such as Room. Correct!
check_circle_outline
radio_button_unchecked False
10. Which of the following statement is not true about the primary key:
radio_button_unchecked You can use the primary key to uniquely identify every record/entry in your database tables.
radio_button_unchecked After you assign the primary key, you cannot modify it.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-2/android-basics-compose-unit-6-pathway-2?authuser=1&con… 2/4
02:11 02/02/2024 Use Room for data persistence | Android Developers
radio_button_checked Room generates an incrementing primary key value for each entity by default. Correct!
check_circle_outline
radio_button_unchecked The primary key represents the entity object as long as it exists in the database.
Results
You scored 9 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-2/android-basics-compose-unit-6-pathway-2?authuser=1&con… 3/4
02:11 02/02/2024 Use Room for data persistence | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
6-
pathwa
y-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-2/android-basics-compose-unit-6-pathway-2?authuser=1&con… 4/4
02:12 02/02/2024 Store and access data using keys with DataStore | Android Developers
check_box_outline_blank Room
check_box_outline_blank SQLite
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
radio_button_unchecked preferencesDataStore()
radio_button_unchecked updatePreferences()
radio_button_checked edit() Correct!
check_circle_outline
radio_button_unchecked map()
radio_button_unchecked False
5. Which exception can occur when you attempt to read from a Preferences DataStore?
radio_button_unchecked IllegalArgumentException
radio_button_checked IOException Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-3/android-basics-compose-unit-6-pathway-3?continue=https… 1/3
02:12 02/02/2024 Store and access data using keys with DataStore | Android Developers
radio_button_unchecked IllegalStateException
radio_button_unchecked NumberFormatException
Results
You scored 5 out of 5. Congratulations! You have passed this quiz.
badge!
The badge has been added to your profile.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-3/android-basics-compose-unit-6-pathway-3?continue=https… 2/3
02:12 02/02/2024 Store and access data using keys with DataStore | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
6-
pathwa
https://developer.android.com/courses/quizzes/android-basics-compose-unit-6-pathway-3/android-basics-compose-unit-6-pathway-3?continue=https… 3/3
02:16 02/02/2024 Schedule tasks with WorkManager | Android Developers
1. Which tool helps you visualize, monitor, and debug your app's workers?
radio_button_unchecked Profiler
radio_button_checked Background Task Inspector Correct!
check_circle_outline
radio_button_unchecked Logcat
radio_button_unchecked Device Manager
check_box_outline_blank DELETED
check_box FAILED Correct!
check_circle_outline
check_box_outline_blank SingleWorkRequest
check_box_outline_blank RepeatingWorkRequest
check_box PeriodicWorkRequest Correct!
check_circle_outline
4. Creating and enqueueing multiple dependent tasks and the order they should run in is called linking.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
https://developer.android.com/courses/quizzes/android-basics-compose-unit-7-pathway-1/android-basics-compose-unit-7-pathway-1?continue=https… 1/4
02:16 02/02/2024 Schedule tasks with WorkManager | Android Developers
radio_button_unchecked Checking that a valid form of payment is saved on the user’s device before the work runs.
radio_button_unchecked Checking what time it is before the work runs.
radio_button_checked Checking that the device is connected to a wifi network before downloading a large amount of app data. Correct!
check_circle_outline
radio_button_unchecked Checking that the app was opened a set number of times before the work runs.
radio_button_unchecked Pass the data in as an argument when calling the doWork() function.
radio_button_checked Use a Data object to pass key/value pairs. Correct!
check_circle_outline
radio_button_unchecked Pass data as a String, but it must be less than 140 characters.
radio_button_unchecked Assign it to the worker.inputData variable.
check_box Id Correct!
check_circle_outline
8. The Background Task Inspector lets you stop workers during their execution.
radio_button_unchecked True
radio_button_checked False Correct!
check_circle_outline
radio_button_unchecked OneTimeWorkRequestBuilder
radio_button_unchecked PeriodicWorkRequestBuilder
radio_button_unchecked TestWorkerBuilder
radio_button_checked TestListenableWorkerBuilder Correct!
check_circle_outline
10. When testing worker implementations, you can call workers directly with doWork() instead of enqueuing the
worker.
https://developer.android.com/courses/quizzes/android-basics-compose-unit-7-pathway-1/android-basics-compose-unit-7-pathway-1?continue=https… 2/4
02:16 02/02/2024 Schedule tasks with WorkManager | Android Developers
radio_button_unchecked False
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-7-pathway-1/android-basics-compose-unit-7-pathway-1?continue=https… 3/4
02:16 02/02/2024 Schedule tasks with WorkManager | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
7-
pathwa
y-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-7-pathway-1/android-basics-compose-unit-7-pathway-1?continue=https… 4/4
02:23 02/02/2024 Android Views and Compose in Views | Android Developers
radio_button_unchecked HTML
radio_button_unchecked Kotlin
radio_button_checked XML Correct!
check_circle_outline
radio_button_unchecked Java
2. When building an app with Views, the concept of a Composable 'screen' should be replaced by which of the
following?
radio_button_unchecked ViewModel
radio_button_unchecked Composable
radio_button_unchecked Activity
3. View Bindings are used to access and interact with XML declared View s.
radio_button_unchecked False
radio_button_unchecked onViewCreated()
radio_button_checked onCreateView() Correct!
check_circle_outline
radio_button_unchecked onStart()
radio_button_unchecked onResume()
5. View components can be accessed before the View Binding has been inflated.
radio_button_unchecked True
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-1/android-basics-compose-unit-8-pathway-1?continue=https… 1/4
02:23 02/02/2024 Android Views and Compose in Views | Android Developers
6. A ComposeView is a(n):
radio_button_unchecked View that can host an Android View inside a Compose UI.
radio_button_checked Android view that can host Jetpack Compose UI content inside a View layout Correct!
check_circle_outline
radio_button_unchecked Android view that can host an Android View inside a View layout.
radio_button_unchecked View that can host Compose UI inside a Compose UI.
7. Jetpack Compose and the View system can co-exist in your codebase.
radio_button_unchecked False
8. The ComposeView uses its ___ method to display Compose elements on the screen.
radio_button_unchecked Composable()
radio_button_checked setContent() Correct!
check_circle_outline
radio_button_unchecked setComposeContent()
radio_button_unchecked displayComposable()
9. Jetpack Compose was designed with View interoperability right from the start.
radio_button_unchecked False
10. The flag that enables Android Studio to work with Compose is the:
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-1/android-basics-compose-unit-8-pathway-1?continue=https… 2/4
02:23 02/02/2024 Android Views and Compose in Views | Android Developers
Results
You scored 10 out of 10. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-1/android-basics-compose-unit-8-pathway-1?continue=https… 3/4
02:23 02/02/2024 Android Views and Compose in Views | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-1/android-basics-compose-unit-8-pathway-1?continue=https… 4/4
02:24 02/02/2024 Views in Compose | Android Developers
Views in Compose
Let's do a quick test! You must answer at least 4 questions correctly to pass this quiz.
radio_button_unchecked InputRow
radio_button_unchecked Column
radio_button_unchecked TextInputRow
radio_button_checked AndroidView Correct!
check_circle_outline
2. What is an AndroidView ?
radio_button_unchecked An Android View that hosts Jetpack Compose UI content inside a View layout
radio_button_unchecked An Android View that hosts an Android View inside a View layout
radio_button_unchecked A Compose View that hosts Jetpack Compose UI content inside a Compose UI
3. Which of the following are parameters of the AndroidView Composable? Select all that apply.
Choose as many answers as you see fit.
check_box_outline_blank inputLabel
check_box update Correct!
check_circle_outline
4. The update callback of the AndroidView Composable is called after the corresponding View is inflated.
radio_button_unchecked False
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-2/android-basics-compose-unit-8-pathway-2?continue=https… 1/3
02:24 02/02/2024 Views in Compose | Android Developers
Results
You scored 5 out of 5. Congratulations! You have passed this quiz.
Share
link
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-2/android-basics-compose-unit-8-pathway-2?continue=https… 2/3
02:24 02/02/2024 Views in Compose | Android Developers
(https:/
/develo
per.and
roid.co
m/cours
es/quizz
es/andr
oid-
basics-
compos
e-unit-
8-
pathwa
y-
2/androi
d-
https://developer.android.com/courses/quizzes/android-basics-compose-unit-8-pathway-2/android-basics-compose-unit-8-pathway-2?continue=https… 3/3