Unit 1 - Introduction to Kotlin (L2)[ID]

Unit 1 - Introduction to Kotlin (L2)[ID]

12th Grade

20 Qs

quiz-placeholder

Similar activities

Uji Pemahaman Formula Excel

Uji Pemahaman Formula Excel

9th Grade - University

15 Qs

Web HTML

Web HTML

10th Grade - University

20 Qs

Quiz sobre Kotlin

Quiz sobre Kotlin

12th Grade - University

20 Qs

Penilaian NodeJs dan React

Penilaian NodeJs dan React

12th Grade

20 Qs

Soal PAS Semester Ganjil PWPB XII RPL 2022-2023

Soal PAS Semester Ganjil PWPB XII RPL 2022-2023

12th Grade

20 Qs

Kotlin/Android Studio

Kotlin/Android Studio

12th Grade

25 Qs

Quis PWPB PHP 1

Quis PWPB PHP 1

1st Grade - University

20 Qs

Soal Ulangan kelas 8-Analisis Data

Soal Ulangan kelas 8-Analisis Data

12th Grade

20 Qs

Unit 1 - Introduction to Kotlin (L2)[ID]

Unit 1 - Introduction to Kotlin (L2)[ID]

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Widayat Prasetiyo

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Manakah dari deklarasi variabel berikut yang valid?

var hello: Int? = ""

String "hello" = hello

val hello = "hello"

hello: String = "hello"

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Ini dianggap sebagai praktik terbaik untuk mendeklarasikan variabel yang tidak akan berubah menggunakan var, bukan val.

Benar

Salah

3.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Manakah dari pernyataan berikut ini yang merupakan cara valid untuk mengupdate variabel?

total++

total - 1

total--

total = total + 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Di Kotlin, komentar boleh satu atau beberapa baris dan akan diabaikan oleh compiler.

Benar

Salah

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Manakah dari pilihan berikut ini yang bukan merupakan jenis data di Kotlin?

String

Decimal

Int

Boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Float juga mewakili desimal, tetapi kurang akurat daripada Double.

Benar

Salah

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Di Kotlin, titik entri program adalah ___.

Pernyataan println()

Variabel val

fungsi main()

Pernyataan return

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?