Search Header Logo

Pemrograman Dasar II (Q2)

Authored by Penilaian FSD

Computers

University

Used 2+ times

Pemrograman Dasar II (Q2)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perintah untuk menghentikan eksekusi loop secara paksa adalah...

stop

break

exit

return

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Konsep OOP yang memungkinkan sebuah class mewarisi sifat dari class lain disebut...

Encapsulation

Inheritance

Polymorphism

Abstraction

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah keyword yang digunakan untuk membuat objek di Java?

new

this

class

instance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah yang termasuk compile-time error di Java?

NullPointerException

ArrayIndexOutOfBoundsException

Missing semicolon (;)

ArithmeticException

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output dari kode berikut adalah:
int x = 5;

System.out.println(x++);

5

6

0

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah tipe data yang tidak ada di Java?

float

double

real

boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah yang benar tentang ArrayList?

Ukuran tetap

Tidak bisa menyimpan objek

Ukuran dinamis

Lebih cepat dari array biasa

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?

Discover more resources for Computers