
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
30 questions
CIW IBA Assessment
Quiz
•
9th - 12th Grade
30 questions
Unit 10: Web Development Fundamentals
Quiz
•
9th - 12th Grade
30 questions
WEEK 5 - UTS KELAS KOMPUTER
Quiz
•
1st Grade - University
35 questions
T3 ASK (Bab 1 - Bab 3)
Quiz
•
12th Grade
28 questions
Test próbny EE.09 (JavaScript)
Quiz
•
9th - 12th Grade
26 questions
Asesment TJKN
Quiz
•
12th Grade
26 questions
SQL 1
Quiz
•
12th Grade
27 questions
UDP Socket e multicast
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade