UAS Pemrograman JavaScript
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Medium
Akademik PeTIKJombang
Used 2+ times
FREE Resource
Enhance your content in a minute
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()
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
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
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
