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

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

12th Grade

20 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Mengenal Internet dan Jaringan Local

Mengenal Internet dan Jaringan Local

12th Grade

15 Qs

Bài kiểm tra giữa kì 2

Bài kiểm tra giữa kì 2

9th - 12th Grade

20 Qs

Asesmen Sumatif

Asesmen Sumatif

12th Grade

15 Qs

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

Teknik Pengolahan Audio dan Video

Teknik Pengolahan Audio dan Video

12th Grade

20 Qs

Cyber Security 12 IPA Zhuo

Cyber Security 12 IPA Zhuo

12th Grade

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

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

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

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Widayat Prasetiyo

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?