wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Jetpack Compose

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

1)Which computer program accepts the high-level language and converts it into assembly language ?

a)

Compose

b)

Linker

c)

Assembler

d)

Compiler

2.

What is a function?

a)

It converts code into a language computer can understand.

b)

A function is a segment of a program that performs a specific task.

c)

It gives special meaning to the compiler.

d)

It is a user-defined name of a program element.

3.

val is used to declare a variable that is prone to change.

a)

True

b)

False

4.

What is the correct way to declare a variable int?

a)

val : count Int : 20

b)

count: Int =2

c)

val count: Int = 2

d)

val Int = 2

5.

What does IDE stand for?

a)

Implementing Development Engine

b)

Integrated Development Engine

c)

Interpreter Design Echosystem

d)

Integrated Development Environment

6.

Choose the wrong option from the following:

a)

@Composable function names are not capitalized.

b)

You add the @Composable annotation before the function

c)

@Composable functions can't return anything.

d)

All of the above.

7.

What is compose Jetpack?

a)

Jetpack Compose is Android's modern toolkit for building native UI

b)

Jetpack Compose is Apple's modern toolkit for building native UI

c)

Jetpack Compose is Android's function to make it fly high.

d)

Jetpack Compose is Android's ROCKETMAN

8.

What is the purpose of using a virtual device, or emulator, in Android Studio?

a)

To show a variety of error messages to users

b)

To experiment with app code safely

c)

To test your app on a device without having that physical device

d)

To see what your app looks like in a web browser

9.

The main() function is missing a line of code. What is the missing code needed to give the output

10 + 5 = 15

a)

result = firstNumber + secondNumber

b)

val result = firstNumber + secondNumber

c)

firstnumber = secondnumber+val

d)

val result = 0

10.

Is Kotlin an advancement of JAVA?

a)

True

b)

False