Unit 1 - Introduction to Kotlin (L2)[ID]
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Widayat Prasetiyo
Used 6+ times
FREE Resource
Enhance your content in a minute
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

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?
Similar Resources on Wayground
20 questions
UH - 01 VII
Quiz
•
1st - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
QUIZ TIK UH-1 SEMESTER 2
Quiz
•
12th Grade
15 questions
Kelas 5 Bab 5 Analisis Data
Quiz
•
5th Grade - University
25 questions
Remedial PTS Teori Internet Gateway (NAT)
Quiz
•
12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
15 questions
Sejarah Perkembangan TIK Dan Komputer
Quiz
•
12th Grade
20 questions
Administrasi Server Jaringan
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
