Search Header Logo

Chapter 2 - FSW - Quiz Berhadiah

Authored by Fahmi Alfareza

Computers

Professional Development

Used 1+ times

Chapter 2 - FSW - Quiz Berhadiah
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

20 sec • 1 pt

Bagaimana cara deklarasi variabel dengan benar di JavaScript?

var x = 5;

variable x = 5;

let x = 5;

const x = 5;

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa hasil dari ekspresi berikut: 10 + "5"?

15

"105"

105

Error

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Bagaimana cara mendeklarasikan fungsi di JavaScript?

function myFunction() {}

var myFunction = function() {}

def myFunction() {}

let myFunction = () => {}

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa yang dimaksud dengan DOM dalam konteks pengembangan web?

Document Object Model

Data Object Model

Document Order Model

Digital Object Model

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Bagaimana cara memeriksa tipe variabel "string" di JavaScript?

typeof variable === "text"

variable.type === "string"

typeof variable === "string"

variable.isString()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa hasil dari ekspresi: 5 % 2?

3

2

1

0

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa yang dilakukan oleh pernyataan return dalam fungsi JavaScript?

Mengakhiri eksekusi fungsi dan mengembalikan nilai

Mendeklarasikan variabel

Menambahkan jeda baris dalam kode

Mencetak nilai ke konsol

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?