
Compose Camp - Session 2 Quiz
Authored by GDSC DYPIU
Education, Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following conditions are satisfied when x = 5?
x == 5
x % 5
x is Int
x in 1..5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which are the four visibility modifiers in Kotlin?
public, private, protected, abstract
public, private, protected, internal
public, private, protected, external
public, private, internal, static
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is best represented by a nullable type?
The number of followers (0 or more) in a social media app.
An optional profile picture.
A username that must be at least one character.
A unique ID given to every user.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT true of functions in Kotlin?
A function has a data type, such as (Int) -> Unit.
A function can take another function as a parameter.
A function can be returned from another function.
A function can be changed to another data type, and vice versa.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use a(n) ___ Composable to display an image
Button
Text
Icon
Image
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Alignment.Center centers UI components both horizontally and vertically.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?