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

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

Professional Development

10 Qs

quiz-placeholder

Similar activities

JavaScript with Arrays

JavaScript with Arrays

Professional Development

15 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

GO4! Quiz Zeriuz Fundamental GO

GO4! Quiz Zeriuz Fundamental GO

Professional Development

10 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University - Professional Development

10 Qs

React

React

Professional Development

12 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

Professional Development

11 Qs

GO4 x FE23! quiz zerius day 2

GO4 x FE23! quiz zerius day 2

Professional Development

8 Qs

Algorithm Quiz

Algorithm Quiz

Professional Development

13 Qs

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

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

Assessment

Quiz

Computers

Professional Development

Hard

Created by

PO Bootcamp

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dimaksud dengan "scope" dalam konteks variabel JavaScript?

Nama variabel yang dapat digunakan di seluruh program.

Area di dalam HTML untuk menampilkan variabel.

Area di kode di mana variabel dapat diakses atau tidak.

Angka yang menunjukkan urutan variabel dalam program.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variabel yang dideklarasikan dengan let atau const memiliki scope apa?

Global scope.

Function scope.

Block scope.

Module scope.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari operasi [...[1, 2, 3]] dalam JavaScript?

[1, 2, 3]

[...[1, 2, 3]]

[1, [2, 3]]

1, 2, 3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dilakukan oleh spread operator pada array?

Mengurutkan elemen array.

Menggabungkan dua array menjadi satu.

Menghapus elemen terakhir dari array.

Menemukan nilai terkecil dalam array.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa tujuan dari operator rest dalam JavaScript?

Menghentikan eksekusi program.

Menggabungkan elemen-elemen array menjadi satu nilai.

Mengelompokkan blok kode bersama dalam fungsi.

Mengurutkan elemen-elemen array.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana penulisan operator rest dalam parameter fungsi?

`...restParameter`

`rest...`

(rest)

`...rest`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kapan operator rest umumnya digunakan dalam JavaScript?

Saat mendefinisikan variabel.

Saat mengurutkan array.

Saat mengelompokkan kode dalam blok.

Saat bekerja dengan jumlah argumen fungsi yang tidak pasti.

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?