
Quiz Pemrograman Java
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Rosalia pare
Used 2+ times
FREE Resource
Enhance your content in a minute
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini adalah cara yang benar untuk mendeklarasikan variabel nama yang bertipe String di Java?
String nama;
nama String;
string nama;
String nama = null;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di Java, tipe data apa yang digunakan untuk menyimpan nilai pecahan atau desimal?
int
String
double
char
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di bawah ini yang merupakan cara penamaan variabel yang benar di Java?
1Angka
Angka Pertama
_angkaPertama
angka-pertama
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari operasi berikut jika int x = 7; dan int y = 2;? int z = x % y; System.out.println(z);
1
2
3
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di Java, tipe data apakah yang akan digunakan untuk menyimpan nilai true atau false?
String
boolean
int
float
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah cara yang benar untuk mengonversi variabel angka bertipe int menjadi String di Java?
String.valueOf(angka)
Integer.toString(angka)
(String) angka
a dan b benar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan ditampilkan oleh kode berikut ini? int a = 5; double b = 6.5; System.out.println(a + b);
11
11.5
10.5
Error
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
40 questions
TIK kelas 7, Penilaian Tengah semester
Quiz
•
7th Grade - University
40 questions
LATIHAN SOAL PSTS INFORMATIKA KELAS 8 GNP
Quiz
•
9th - 12th Grade
45 questions
LATIHAN SOAL PSTS INFORMATIKA KELAS 7 GNP
Quiz
•
9th - 12th Grade
44 questions
OCR J275 - Networks Part A
Quiz
•
8th - 11th Grade
40 questions
MYOB Asyiik
Quiz
•
11th Grade
45 questions
PAT Informatika Genap
Quiz
•
9th - 12th Grade
47 questions
Ulangkaji ASK T2 Bab 2 Algoritma
Quiz
•
1st - 12th Grade
47 questions
IT Fundamentals Chapter 6
Quiz
•
8th - 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
