
Kuis Pemrograman Java

Quiz
•
Computers
•
12th Grade
•
Hard
Programming Bali
Used 1+ times
FREE Resource
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();
Create a free account and access millions of resources
Similar Resources on Wayground
29 questions
Python Y10

Quiz
•
4th - 12th Grade
34 questions
Project STEM AP CS A Unit 1

Quiz
•
9th - 12th Grade
27 questions
Sains Komputer Tingkatan 5 - 3.1.1 Bahasa Penskripan Klien

Quiz
•
10th - 12th Grade
36 questions
Ulangan Harian Bersama

Quiz
•
9th - 12th Grade
26 questions
Latihan soal Informatika Kelas 11 semester 1

Quiz
•
12th Grade
30 questions
PAS Database XII

Quiz
•
12th Grade
30 questions
Python Тотальный тест

Quiz
•
KG - 12th Grade
35 questions
SMAN Glenmore Formatif 1 Informatika XII

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade