Search Header Logo

PBO

Authored by RUDI SELAMAT

Computers

11th Grade

Used 149+ times

PBO
AI

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

2 mins • 1 pt

Dibawah ini merupakan method utama atau main method pada pemrograman java adalah....

System.out.println(" ");

public static void main (String[] args);

public class latihan {

}

public main class {

}

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

pendeklarasian variabel yang benar pada java, kecuali...

char ket="A";

int nilai = 90;

Int harga = 10000;

double nilai = 90.5;

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Tipe data pada pemrograman java dibagi menjadi 2 bagian yaitu.....

tipe data angka dan tipe data karakter

tipe data reference dan tipe data angka

tipe data primitif dan tipe data main

tipe data primitif dan tipe data reference

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

int a =10;

a++;

System.out.println("Isi a : " +a);

Nilai a yang tercetak adalah

9

10

11

12

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

int y=40; int z =80;

tes1=(y>40) && (z<100);

System.ouot.println("Hasil tes 1 :" +tes1);

120

40

false

true

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

int jml_brg_dibeli = 2; double diskon = 0.25;

int totalbelanja=100000;double hrg_brg_stlh_diskon;

if (totalbelanja>500000 && jml_brg_dibeli>1) {

hrg_brg_stlh_diskon = totalbelanja - (totalbelanja*diskon);

System.out.println("Harga barang setelah diskon :" +hrg_brg_stlh_diskon;

500000

750000

100000

150000

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Arti atau deskripsi dari error ClassNotfoundException adalah ...

class tidak ditemukan

nama class sudah digunakan

nama class salah

class sudah dibuat sebelumnya

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?