
STS GANJIL KONSENTRASI KEAHLIAN 11 RPL
Authored by Agatha Setyaningsih
Computers
11th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Nama kelas mana yang tidak diperbolehkan dalam Java?
3_Satu
O_Satu
S13h
B3_Dua
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Keyword manakah yang digunakan untuk membuat nilai konstan?
protected
private
public
final
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Di baris mana definisi kelas terjadi dalam program di bawah ini?
public class Ceria {
public static void main(String args[ ]) {
int a = 9; int b = 4;
int c= a/b;
}
}
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Apa yang akan ditampilkan jika nilai variabel c dicetak?
public class Ceria {
public static void main(String args[ ]) {
int a = 9; int b = 4;
int c= a/b;
}
}
2.25
2.3
2
2.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Manakah di antara berikut ini yang bukan cara untuk menginisialisasi variabel string?
String me = new String(“Inisialisasi 1”); String me
me = new String “inisialisasi 1” ;
String me; me = new String(“inisialisasi 1”);
String me; me = “inisialisasi 1”;
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Manakah dari perintah print berikut yang benar?
System.out.println(“Hello world”);
System.Out.println(“Hello world ”);
System.out.Println(“Hello world ”);
System.Out.Println(Hello world ”);
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Sistem manakah yang digunakan untuk mengirim output ke layar?
System.out.
System.in.
System.err.
System.exit
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?