Basic Programming Kotlin

Basic Programming Kotlin

Professional Development

10 Qs

quiz-placeholder

Similar activities

[LAB-BD] 02.2-Revisão: Mapeamento ME-R Estendido -> MRel

[LAB-BD] 02.2-Revisão: Mapeamento ME-R Estendido -> MRel

University - Professional Development

10 Qs

Calidad de Datos y Proceso ETL

Calidad de Datos y Proceso ETL

Professional Development

10 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

Elearn, Emails, Netiquette

Elearn, Emails, Netiquette

Professional Development

10 Qs

Creating a document

Creating a document

1st Grade - Professional Development

9 Qs

Quiz Evaluasi 1 Mapel DPJK

Quiz Evaluasi 1 Mapel DPJK

Professional Development

15 Qs

OMSPAN DAK DD

OMSPAN DAK DD

Professional Development

10 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

Basic Programming Kotlin

Basic Programming Kotlin

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Arif Faizin

Used 151+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword used to create a mutable variable?

var

val

const

mutable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the right declaration to make a variable with the Character data type?

val char = 'ABC'

val char = "A"

val char = 'A'

val char = A

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which the right code to declare nullable variable in Kotlin?

val text: String = null

val text: String? = null

val text: nullable = null

val text: String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Elvis operator keyword?

?:

??

:?

?.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you make the range from a to b?

a in b

a_b

a to b

a..b

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value is 10 until 12

10 11 12

10 11

11 12

All is wrong!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you use a data class, what functions will the compiler automatically provide?

paste(), toDouble(), notEquals()

toString(), cut(), dan isEmpty()

equals(), copy, dan toInt()

copy(), equals, dan toString()

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?