Basic Programming Kotlin

Basic Programming Kotlin

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz 10 SQL Server

Quiz 10 SQL Server

Professional Development

10 Qs

Demo C programming

Demo C programming

Professional Development

10 Qs

ISC2 - Chapter 1 - Module 1 - G2

ISC2 - Chapter 1 - Module 1 - G2

Professional Development

15 Qs

Post test Data Science Day 25 (SQL)

Post test Data Science Day 25 (SQL)

Professional Development

10 Qs

Ramie Jandel and Macnabstan Trist copmuter quiz

Ramie Jandel and Macnabstan Trist copmuter quiz

Professional Development

12 Qs

ITF - Quiz 13.1 - Securing Devices

ITF - Quiz 13.1 - Securing Devices

Professional Development

12 Qs

Basic Python Data Types

Basic Python Data Types

Professional Development

8 Qs

Rails Study VI

Rails Study VI

Professional Development

6 Qs

Basic Programming Kotlin

Basic Programming Kotlin

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Arif Faizin

Used 149+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?