Quiz Java

Quiz Java

University

17 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

2. Ayo Main Quiz Lagi

2. Ayo Main Quiz Lagi

University - Professional Development

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Algoritma Remedial RPL

Algoritma Remedial RPL

University

20 Qs

Arduino ม.2 และ ม.3 ฉบับที่ 2

Arduino ม.2 และ ม.3 ฉบับที่ 2

KG - Professional Development

20 Qs

GK Quiz

GK Quiz

University

15 Qs

Quiz Java

Quiz Java

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Aulia Ramadhita

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

int x = 5;
System.out.println(x++);
System.out.println(x);

Apa yang akan menjadi output dari program berikut?

5 dan 5

5 dan 6

6 dan 5

6 dan 6

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara membuat sebuah variable dengan floating number 2.8?

float x = 2.8f;  

int x = 2.8f;

byte x = 2.8f

x = 2.8f;

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Method mana yang dapat digunakan untuk mencari panjang (length) dari sebuah string?

len()

getLength()

getSize()

length()  

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Operator yang digunakan untuk membandingkan 2 buah value?

<>

==  

><

/=

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Dalam pendeklarasian sebuah array di Java, simbol apa yang digunakan dalam penulisan variabelnya?

{ }

( )

[ ]

< >

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara penulisan dalam membuat sebuah method di Java?

{methodName}

methodName()

methodName{}

methodName[]

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara memulai penulisan while loop di Java?

while (x > y)  

while x > y:

x > y while {


while x > y {

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