Chapter 2 - FSW - Quiz Berhadiah

Chapter 2 - FSW - Quiz Berhadiah

Professional Development

10 Qs

quiz-placeholder

Similar activities

[FE] Ice Breaking - Navigating the World of Variables, Spread, a

[FE] Ice Breaking - Navigating the World of Variables, Spread, a

Professional Development

10 Qs

Powerwoche JS II

Powerwoche JS II

Professional Development

15 Qs

Chapter 3 - Quiz Berhadiah

Chapter 3 - Quiz Berhadiah

Professional Development

15 Qs

MEGASYSTEM - TECH

MEGASYSTEM - TECH

Professional Development

10 Qs

GO4 x FE23! Quiz Zerius Day 3

GO4 x FE23! Quiz Zerius Day 3

Professional Development

8 Qs

JavaScript Arrays

JavaScript Arrays

Professional Development

15 Qs

Web Development Workshop

Web Development Workshop

University - Professional Development

10 Qs

IT_SUBBOTNIK_2

IT_SUBBOTNIK_2

University - Professional Development

7 Qs

Chapter 2 - FSW - Quiz Berhadiah

Chapter 2 - FSW - Quiz Berhadiah

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Fahmi Alfareza

Used 1+ times

FREE Resource

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

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?