Search Header Logo

Kuis JavaScript Dasar

Authored by irvan pamungkas

Engineering

11th Grade

Used 2+ times

Kuis JavaScript Dasar
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

Apa yang akan ditampilkan oleh kode berikut? console.log(5 > 3);

True

False

Undefined

Syntax error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang digunakan untuk membuat komentar dalam JavaScript?

#

//

/*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Struktur kontrol mana yang digunakan untuk memilih antara beberapa opsi?

For

while

switch

function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pada kode if (x == 10), apakah x sama dengan 10?

Ya

Tidak

Tergantung nilai

Harus dideklarasikan

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah dari berikut ini yang benar tentang event handler di JavaScript?

Hanya untuk mouse

Hanya untuk keyboard

Untuk semua jenis event

Tidak ada penggunaan

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari kode berikut? for (let i = 0; i < 3; i++) { console.log(i); }

0 1 2

1 2 3

0 1 2 3

0 1 2 3 4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jika let a = 5; dan let b = 10;, apa yang akan dihasilkan dari console.log(a + b);?

15

510

5 + 10

Error

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?