Basic Programming Kotlin

Quiz
•
Computers
•
Professional Development
•
Hard
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
Similar Resources on Wayground
15 questions
C PROGRAMMING BASICS-QUIZ-1

Quiz
•
Professional Development
15 questions
Introduction to PHP

Quiz
•
Professional Development
6 questions
SDA Podstawy 3

Quiz
•
Professional Development
10 questions
Microprocessor 8086 Architecture -Module I

Quiz
•
Professional Development
8 questions
Windows Updates

Quiz
•
9th Grade - Professio...
15 questions
SLG IPC144 Week 11

Quiz
•
Professional Development
10 questions
DECI - Week 11 - round

Quiz
•
Professional Development
10 questions
Salesforce Basic

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade