Search Header Logo

Javascript

Authored by RPLXII1SMKNBDG Smkn2bdg

Education

1st - 10th Grade

Used 16+ times

Javascript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

nama function pada script di bawah adalah...

<script>

function tes(){

document.write("Hello World!");

}


tes();

</script>

<script>

tes(){}

document.write("Hello World!");

</script>

tes();

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

kode perintah yang di gunakan untuk memanggil function test pada script di bawah ini adalah...

<script>

function tes(){

document.write("Hello World!");

}


tes();

</script>

<script>

function tes(){ }

document.write("Hello World!");

tes();

</script>

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

baris perintah yang di gunakan untuk mencetak "Hello World!" pada script di bawah ini adalah...

<script>

function tes(){

document.write("Hello World!");

}


tes();

</script>

<script>

function tes(){ }

document.write("Hello World!");

tes();

</script>

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

jika function kalikan(x,y) di panggil maka output dari script di bawah ini adalah...

<script>

function kalikan(x,y){

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

}

kalikan(5,3);

</script>


tes();

</script>

2

5

8

15

53

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

berapakah nilai dari x dan y dari script di bawah ini adalah...

<script>

function kalikan(x,y){

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

}

kalikan(5,3);

</script>


tes();

</script>

5,3

5.3

3,5

3.5

35

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

baris perintah untuk menampilkan output dari script di bawah ini adalah...

<script>

function kalikan(x,y){

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

}

kalikan(5,3);

</script>


tes();

</script>

<script>

function kalikan(x,y){ }

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

kalikan(5,3);

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

parameter dari script di bawah ini adalah...

<script>

function kalikan(x,y){

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

}

kalikan(5,3);

</script>


tes();

</script>

<script>

function kalikan(x,y){ }

z = x * y;

alert("Hasil kali "+x+" * "+y+" = "+z);

kalikan(5,3);

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?