
Javascript

Quiz
•
Computers
•
10th Grade
•
Easy
Warda Azzahra
Used 46+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam pemrograman game berbasis website, diperlukan minimal bahasa pemrograman HTML, CSS, dan Javascript. Apa peran Javascript dalam hal ini?
Membuat kerangka halaman game
Membuat visual yang menarik dalam game
Membuka logika dan mekanik game
Membuat halaman menu dalam game
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Var dalam Javascript berfungsi untuk...
variabel tampung
variasi angka
variabel string
variasi data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
getElementById() berfungsi untuk...
Mengambil data dalam elemen HTML
Mengambil elemen HTML
Mengambil sintaks elemen HTML
Mengambil atribut elemen HTML
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<p id="text">Hello</p>
bagaimana cara mengubah konten "Hello" dalam elemen di atas menjadi "Hai" dari Javascript?
document.getElementById("text") = "Hai";
document.getElementById("text").Hello = "Hai";
document.getElementById("text").innerHTML = "Hai";
document.getElementById("Hello").innerHTML = "Hai";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<img id="profil" src="foto1.jpg">
bagaimana cara mengubah foto "foto1.jpg" menjadi "foto2.jpg"?
document.getElementById("profil").innerHTML = "foto2.jpg";
document.getElementById("profil").src = "foto2.jpg";
document.getElementById("img").innerHTML = "foto2.jpg";
document.getElementById("img").src = "foto2.jpg";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<p id="text">Hello World</p>
<script>
document.getElementById("text").innerHTML= "Hello Panda";
Hasil yang akan ditampilkan di halaman web adalah...
Hello World
Hello Panda
Hello World Hello Panda
Kosong
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const people = ["Arga", "Ammar", "Umar"]
sintaks di atas merupakan implementasi...
Array
Variabel string
Percabangan
JS DOM
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
HTML/CSS Quiz

Quiz
•
10th Grade - University
8 questions
BP: JavaScript część 1

Quiz
•
10th Grade
8 questions
JS Snippet Quiz

Quiz
•
9th - 12th Grade
13 questions
Web Design: Link, Image, List and Table

Quiz
•
9th - 12th Grade
10 questions
The DOM Practice

Quiz
•
9th - 12th Grade
10 questions
CSS Quiz 1

Quiz
•
6th - 10th Grade
7 questions
CSS

Quiz
•
9th - 12th Grade
14 questions
Html&Css

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade