Compose Camp - Session 2 Quiz

Compose Camp - Session 2 Quiz

University

10 Qs

quiz-placeholder

Similar activities

Cloud Computing

Cloud Computing

University

10 Qs

Mindtap Cloud Computing

Mindtap Cloud Computing

University - Professional Development

10 Qs

Pemrograman Android 01 - Pengantar Android & Kotlin

Pemrograman Android 01 - Pengantar Android & Kotlin

University

6 Qs

OOC 4SEM

OOC 4SEM

University

15 Qs

Cryptography

Cryptography

University

15 Qs

Quiz 1: Classes and Objects

Quiz 1: Classes and Objects

University

10 Qs

[Generation Girl] - Day 1 (Post Test)

[Generation Girl] - Day 1 (Post Test)

6th Grade - University

15 Qs

Cloud Computing

Cloud Computing

University - Professional Development

10 Qs

Compose Camp - Session 2 Quiz

Compose Camp - Session 2 Quiz

Assessment

Quiz

Education, Computers

University

Medium

Created by

GDSC DYPIU

Used 6+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?