Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

1st - 5th Grade

20 Qs

quiz-placeholder

Similar activities

Python 101

Python 101

1st - 5th Grade

15 Qs

KUIZ PYTHON

KUIZ PYTHON

1st - 5th Grade

15 Qs

LEVEL ZERO BEGINNERS B003 EXAMS

LEVEL ZERO BEGINNERS B003 EXAMS

4th Grade

20 Qs

Alpro

Alpro

1st Grade

20 Qs

PBO kelas XI RPL

PBO kelas XI RPL

2nd Grade

25 Qs

De todo

De todo

1st Grade - Professional Development

16 Qs

ASK T2 3.2 STRUKTUR KOD ARAHAN

ASK T2 3.2 STRUKTUR KOD ARAHAN

1st - 3rd Grade

20 Qs

Python Повторення, змінні і вирази

Python Повторення, змінні і вирази

1st - 11th Grade

17 Qs

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

Assessment

Quiz

Other, Computers

1st - 5th Grade

Medium

Created by

Anisa Rahma

Used 106+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Berapa nilai yang terkandung pada variabel 'result'?

int x = 8, y = 5;

int result = x%y;

-3

5

13

3

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

isi kode yang kosong.

public class Person {_____ int age;

_____ void setAge (____ age)

(if (age>0) {this.age = age;

private,public,int

final,public,int

static,private,string

static,private,int

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Isi bagian kosong berikut.

______ Apples {public static void main

(String[] args{System.out.println("Hello World"); }}

public class

extends

privateclass

integer

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Pada setiap program java pasti ? ......

...semua variabel harus integer

...harus ada satu method 'main'

...harus ada dua variable yang dideklarasi

...harus memiliki class

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Komen single-line dibuat dengan cara ?

//characters dibelakang line

**characters didepan line

//characters didepan line

*/characters didepan line

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Konstruktur harus memiliki nama yang sama dengan class.

false

true

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa output dari kode berikut :

int x = 15;

int y = 4;

int result = x / y;

System.out.println(result)

19

11

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?