NEW
Font size
WorksheetsJetpack Compose
Total questions: 10
Worksheet time: 5mins
1)Which computer program accepts the high-level language and converts it into assembly language ?
Compose
Linker
Assembler
Compiler
What is a function?
It converts code into a language computer can understand.
A function is a segment of a program that performs a specific task.
It gives special meaning to the compiler.
It is a user-defined name of a program element.
val is used to declare a variable that is prone to change.
True
False
What is the correct way to declare a variable int?
val : count Int : 20
count: Int =2
val count: Int = 2
val Int = 2
What does IDE stand for?
Implementing Development Engine
Integrated Development Engine
Interpreter Design Echosystem
Integrated Development Environment
Choose the wrong option from the following:
@Composable function names are not capitalized.
You add the @Composable annotation before the function
@Composable functions can't return anything.
All of the above.
What is compose Jetpack?
Jetpack Compose is Android's modern toolkit for building native UI
Jetpack Compose is Apple's modern toolkit for building native UI
Jetpack Compose is Android's function to make it fly high.
Jetpack Compose is Android's ROCKETMAN
What is the purpose of using a virtual device, or emulator, in Android Studio?
To show a variety of error messages to users
To experiment with app code safely
To test your app on a device without having that physical device
To see what your app looks like in a web browser
The main() function is missing a line of code. What is the missing code needed to give the output
10 + 5 = 15
result = firstNumber + secondNumber
val result = firstNumber + secondNumber
firstnumber = secondnumber+val
val result = 0
Is Kotlin an advancement of JAVA?
True
False
