Search Header Logo

Kotlin_quiz

Authored by Sindhu V

Computers

University

Used 27+ times

Kotlin_quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kotlin is a statically-typed programming language which runs on the?

JCM

JVM

JDK

JRE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Why you should switch to Kotlin from Java?

Kotlin language is quite simple compared to Java

It reduces may redundancies in code as compared to Java

Kotlin can offer some useful features which are not supported by Java

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 ____________ feature allows removing the risk of occurrence of NullPointerException in real time.

Null Risk

Null Safety

Null POINTER

ALL THE ABOVE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you declare a variable in Kotlin?

value my_var: Char

value Char : my_var

my_var: Char

value my_var: Char

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is there any Ternary Conditional Operator in Kotlin like in Java?

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Elvis Operator is used for handling null expectations in Kotlin.

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____________ helps to iterate through a range.

And operator

Ranges operator

Or operator

Conditional operator

Access all questions and much more by creating a free account

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

Already have an account?