
Kuis Pemrograman Java
Authored by Programming Bali
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Jenis data mana yang merupakan tipe data primitif di Java?
String
Array
int
Scanner
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Jenis data apa yang cocok untuk menyimpan nilai benar atau salah?
int
char
boolean
byte
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa output dari kode berikut? int x = 10; if (x > 5) { System.out.println("Lebih besar dari 5"); }
Tidak mencetak apa-apa
Kesalahan
Lebih besar dari 5
x > 5
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Manakah dari berikut ini yang merupakan sintaks yang benar untuk if-else di Java?
if x > 0 then { ... }
if (x > 0) then { ... }
if (x > 0) { ... } else { ... }
if x > 0 { ... } else { ... }
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Bagaimana cara memeriksa apakah angka x genap?
jika (x / 2 == 0)
jika (x % 2 == 0)
jika (x == 2)
jika (x mod 2 == 0)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa arti kata kunci class dalam Java?
Digunakan untuk membuat objek
Tipe data baru
Blueprint dari sebuah objek
Digunakan untuk perulangan
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Bagaimana cara membuat objek dari kelas bernama Mobil?
Mobil obj = new Mobil();
new Mobil obj = Mobil();
Mobil obj();
Mobil = new obj();
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?
Similar Resources on Wayground
35 questions
Remedial PH Berpikir Komputasional Kelas VIII
Quiz
•
8th Grade - University
26 questions
Quiz VUCA dalam Dunia Informatika
Quiz
•
12th Grade
26 questions
AIJ Sumatif SMK PGRI Kromengan
Quiz
•
12th Grade
26 questions
UTS Literasi kelas XII
Quiz
•
12th Grade
26 questions
Revision quiz 6
Quiz
•
9th - 12th Grade
26 questions
Quiz Mesin Pencari
Quiz
•
10th Grade - University
27 questions
Quiz sobre Desenho de Sítios Web
Quiz
•
12th Grade
30 questions
ANALISIS DATA PEMROGRAMAN
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade