
UNIT 2 - Dasar-dasar Kotlin [ID]
Authored by Widayat Prasetiyo
Computers
12th Grade
Used 1+ times
![UNIT 2 - Dasar-dasar Kotlin [ID]](https://cf.quizizz.com/img/studentpreview.webp)
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
45 sec • 10 pts
Kode berikut akan mencetak "Divisible by 5" jika number setara dengan 25.
True
False
2.
MULTIPLE SELECT QUESTION
30 sec • 10 pts
Manakah dari kondisi berikut yang terpenuhi ketika x = 5?
x == 5
x in 1..5
x is Int
x % 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah yang bukan merupakan konsep dasar pemrograman berorientasi objek?
Abstraksi
Keterbacaan
Pewarisan
Polimorfisme
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah empat pengubah visibilitas di Kotlin?
public, private, protected, abstract
static, override, internal, external
private, protected, public, internal
public, protected, static, internal
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Kata kunci ___ digunakan untuk memanggil metode dari class induk.
this
super
parent
self
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
___ menentukan properti atau metode yang perlu diimplementasikan oleh class.
Delegasi
Jenis generik
Antarmuka
Subclass
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah dari berikut ini yang sebaiknya ditampilkan oleh jenis nullable?
Jumlah pengikut (0 atau lebih) di aplikasi media sosial.
Foto profil opsional.
Nama pengguna yang harus berisi setidaknya satu karakter.
ID unik yang diberikan kepada setiap pengguna.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?