Basic Programming Kotlin

Quiz
•
Computers
•
Professional Development
•
Hard
Arif Faizin
Used 150+ 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
Similar Resources on Wayground
10 questions
c programming-Test 1

Quiz
•
Professional Development
10 questions
Kuis Oracle Database

Quiz
•
Professional Development
10 questions
GUESS THAT WORD IN CYBER!

Quiz
•
Professional Development
11 questions
Sains Komputer Tingkatan 4 - 1.7.1 Menghuraikan setiap fasa

Quiz
•
1st Grade - Professio...
9 questions
Power BI 02 - Connecting & Shaping Data

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
15 questions
Python Class 1

Quiz
•
Professional Development
15 questions
Aggregation, Date & Time Functions Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade