
Quiz fungsi object dan array
Authored by ade aye
Computers
Professional Development
Used 5+ times

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 pengertian dari fungsi (function) dalam JavaScript?
Sebuah struktur data untuk menyimpan banyak nilai sekaligus
Sebuah perintah untuk mengubah elemen DOM di halaman web
Sebuah blok kode yang dirancang untuk melakukan tugas tertentu dan dapat dipanggil berulang kali
Sebuah metode bawaan untuk membuat animasi pada halaman web
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan method pada objek?
Variabel dalam objek
Fungsi yang menjadi properti dari objek
Array dalam objek
Tipe data baru
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menambahkan elemen baru ke array di JavaScript?
array.add(element)
array.push(element)
array.insert(element)
array.append(element)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah yang merupakan cara yang benar untuk mengakses properti age dari objek person berikut? const person = { name: "Alice", age: 25 };
person["age"]
person.age
A dan B
Tidak ada yang benar
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan dicetak oleh kode berikut? const arr = [1, 2, 3]; console.log(arr[1]);
1
2
3
undefined
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari parameter dalam sebuah fungsi di JavaScript?
Memberikan nilai tetap yang akan dikembalikan oleh fungsi
Memperbaiki kesalahan sintaksis pada fungsi
Menentukan nilai input yang diterima oleh fungsi untuk digunakan di dalamnya
Menyimpan referensi ke fungsi lain untuk dipanggil secara otomatis
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika kita mencoba mengakses properti objek yang tidak ada?
Error
null
undefined
Properti ditambahkan ke objek secara otomatis
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
SQL Sesi 1
Quiz
•
Professional Development
11 questions
Pretest
Quiz
•
Professional Development
14 questions
Sains Komputer Tingkatan 4 - 2.2.3 Menghasilkan gambar rajah
Quiz
•
1st Grade - Professio...
13 questions
Repaso
Quiz
•
Professional Development
10 questions
Myquizizz
Quiz
•
Professional Development
15 questions
IT Security Awareness 2023 Vol.2 - Room 1
Quiz
•
Professional Development
15 questions
KUIS ASJ KELAS XI
Quiz
•
11th Grade - Professi...
10 questions
Tutorial Membuat Quizizz
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development