Search Header Logo

Javascript Array dan Object

Authored by Sirojul Munir

Computers

University

Used 45+ times

Javascript Array dan Object
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Lengkapi kode program berikut ini untuk mendefinisikan array JavaScript !
let ar_materi = .... ;

["HTML","CSS","JS"]

<"HTML","CSS","JS">

{"HTML","CSS","JS"}

"HTML,CSS,JS"

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Data berikut ini adalah penulisan array object yang benar!

[
"name":"John",
"age":30,
"cars":["Ford", "BMW", "Fiat"]
]

{
"name" = "John",
"age" = 30,
"cars" = ["Ford", "BMW", "Fiat"]
}

{
"name":"John",
"age":30,
"cars":["Ford", "BMW", "Fiat"]
}

[
"name" = "John",
"age" = 30,
"cars" = ["Ford", "BMW", "Fiat"]
]

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Dari kode program ini, yang termasuk object adalah

person

firstname

fullname

John

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Dari kode program ini, yang termasuk variabel objek adalah

person

firstname

fullname

John

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Dari kode program ini, yang termasuk fungsi adalah

person

firstname

fullname

John

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Dari kode program ini, yang termasuk nilai atau value variabel adalah

person

firstname

fullname

John

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Fungsi yang didefinisikan dalam object javascript dapat mengakses variabel object yaitu menggunakan keyword

let

this

function

return

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?