Quiz Javascript Basic Pertemuan 3
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
DevComITI DevComITI
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metode mana yang digunakan untuk menambahkan elemen ke akhir array JavaScript?
shift()
unshift()
push()
pop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa bentuk operator ternary di JavaScript?
if else
?:
switch case
??
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Loop mana yang mengeksekusi blok kode selama kondisi tertentu benar?
for loop
do...while loop
while loop
foreach
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan dihasilkan oleh kode berikut? const arr = [1, 2, 3]; console.log(arr[1]);
tidak terdefinisi
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut? const num = 10; const result = num > 5 ? 'Greater' : 'Smaller'; console.log(result);
5
10
Greater
Smaller
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metode manakah yang menghapus elemen terakhir dari sebuah array di JavaScript?
push()
pop()
slice()
splice()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa sintaks dari loop for di JavaScript?
for (initializer; condition; increment)
for (condition; initializer; increment)
for (condition; increment; initializer)
for (increment; condition; initializer)
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
CODING UNOARDUINO
Quiz
•
12th Grade
10 questions
QUIZ_JOB PROFIL TJKT
Quiz
•
10th Grade
15 questions
UH 1 SPREADSHEET X-2
Quiz
•
10th Grade
15 questions
Quiz Bahasa Pemrograman
Quiz
•
11th Grade
15 questions
Mengenal Internet dan Jaringan Local
Quiz
•
12th Grade
10 questions
BP TIK 1
Quiz
•
10th Grade
13 questions
Python Fundamentals and Programming
Quiz
•
11th - 12th Grade
10 questions
Soal BAB V PemWeb
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
