
Ujian Pemrograman Dasar
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Atika Arpan
FREE Resource
Enhance your content in a minute
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Pernyataan mana yang digunakan untuk mendeklarasikan variabel integer di Java?
int num;
num int;
var num;
number int;
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Perintah untuk menampilkan output di Java adalah...
print()
System.out.print()
System.println()
System.out.println()
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Pernyataan mana yang digunakan untuk mendeklarasikan variabel integer di Java?
Pernyataan mana yang digunakan untuk mendeklarasikan variabel integer di Java?
int num;
num int;
var num;
number int;
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Struktur kontrol yang digunakan untuk memilih salah satu blok kode berdasarkan kondisi adalah...
if
for
while
switch
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Manakah dari pernyataan berikut ini yang merupakan bentuk penulisan if-else yang benar dalam Java?
if x > 5 then { System.out.println("Besar"); }
if (x > 5) System.out.println("Besar"); else System.out.println("Kecil");
if x > 5: System.out.println("Besar") else System.out.println("Kecil")
if x > 5 { System.out.println("Besar"); } else { System.out.println("Kecil"); }
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Kode berikut digunakan untuk mengecek apakah suatu angka genap atau ganjil. Bagian manakah yang perlu diperbaiki?
Kurung kurawal tidak diperlukan
Tanda % harus diganti dengan /
= harus diganti dengan ==
else harus dihilangkan
7.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Struktur if-else if-else digunakan untuk...
Menampilkan banyak data
Menyimpan data
Memeriksa beberapa kondisi secara berurutan
Melakukan perulangan terus-menerus
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
40 questions
UTS Basis Data Terdistribusi
Quiz
•
University
50 questions
Materi Internet Kelas 4 SD Kesatuan
Quiz
•
4th Grade - University
50 questions
Java қазақша 151 - 200
Quiz
•
University
50 questions
informatika/SIMDIG XI (ASAS 2425)
Quiz
•
11th Grade - University
43 questions
STS GANJIL INFORMATIKA KELAS 8 TP 2025/2026
Quiz
•
8th Grade - University
40 questions
INFORMATIKA 11 PG
Quiz
•
11th Grade - University
50 questions
Soal UTS Level 4 2025
Quiz
•
University
50 questions
Revisão de Sistemas Distribuídos
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
