UAS Pemrograman JavaScript

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Akademik PeTIKJombang
Used 2+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Manakah dari berikut ini yang merupakan bentuk perulangan paling dasar?
do...while
for
Semua jawaban benar
while
foreach
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Kapan for...of digunakan?
Untuk mengulangi objek
Untuk menghitung jumlah elemen
Untuk menandai perulangan
Untuk menghentikan program
Untuk mengulangi elemen array
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa hasil dari kode berikut?
let arr = [1, 2, 3];
arr.forEach(function(num) {
console.log(num);
});
1 2 3 4
1 2 3
undefined
Error
1 2
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa yang dilakukan perulangan for dengan kondisi false
Semua iterasi dijalankan
Program berhenti
Satu iterasi dijalankan
Tidak ada iterasi yang dijalankan
Error
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Kapan perulangan do...while akan berhenti?
Sebelum kondisi dicek
Saat kondisi false
Setelah satu kali iterasi
Selama kondisi true
Setelah kondisi true
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa yang akan terjadi jika Anda menggunakan innerHTML pada elemen yang tidak ada?
Menghasilkan error
Menghentikan eksekusi
Mengubah konten halaman
Menampilkan pesan "null"
Tidak ada yang terjadi
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Metode mana yang paling baik digunakan untuk menampilkan data dalam aplikasi web?
prompt()
innerHTML
document.write()
console.log()
alert()
Create a free account and access millions of resources
Similar Resources on Wayground
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
8 questions
Understanding Government: Limited and Unlimited

Quiz
•
Professional Development
20 questions
tape measure

Quiz
•
Professional Development
24 questions
Street Signs

Quiz
•
9th Grade - Professio...