Pretest Javascript (Array, Object, Function, Parameter)

Quiz
•
Computers
•
10th Grade
•
Hard
er er
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan gambar dengan tampilan array data dengan nilai-nilainya, Manakah pernyataan berikut yang tidak benar tentang array data?
A. Indeks pertama dari array data adalah "apel".
B. Elemen dengan indeks 3 adalah "mangga".
C. Panjang array data adalah 6.
D. Elemen dengan indeks 5 adalah "anggur".
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan object pada Javascript?
A. Sebuah variabel yang menyimpan nilai statis
B. Sebuah blok kode yang dapat digunakan berulang kali
C. Sebuah fungsi yang dapat menerima input dan menghasilkan output
D. Kumpulan data yang terdiri dari pasangan key-value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengakses nilai properti pada suatu object?
A. Dengan menggunakan kombinasi operator dot dan kurung siku ([])
B. Dengan menggunakan operator dot (.)
C. Dengan menggunakan indeks
D. Dengan menggunakan nama properti
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari kode program tersebut, Berapakah nilai total yang akan ditampilkan oleh kode tersebut?
A. 13000
B. 11000
C. 15000
D. 11100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode tersebut, apa yang dihasilkan dari kode program tersebut?
A. 1, 3, 5, 7, 9
B. 2, 4, 6, 8, 10
C. 2, 4, 6, 8, 10
D. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode program tersebut, Apa yang dimaksud dengan x dan y dalam kode di atas?
A. Variabel global
B. Parameter fungsi
C. Nilai konstan
D. Objek JavaScript
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang merupakan sifat parameter pada JavaScript?
A. Dapat diubah di dalam fungsi
B. Dapat diakses di luar fungsi
C. Harus memiliki tipe data yang sama
D. Harus memiliki nilai default
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Basics of Coding and AI Applications

Quiz
•
10th Grade
10 questions
Tipe Data Informatika

Quiz
•
10th Grade
10 questions
POST-TEST (X-8)

Quiz
•
10th Grade - University
10 questions
Asesmen Quiz Tipe data dan Struktur Kontrol

Quiz
•
10th Grade
10 questions
Quiz HTML

Quiz
•
1st - 10th Grade
10 questions
Struktur Percabangan PHP

Quiz
•
2nd Grade - University
12 questions
JS quiz

Quiz
•
10th Grade
10 questions
Analisis Data Informatika Kelas X

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade