SOAL JAVASCRIPT

Quiz
•
Computers
•
12th Grade
•
Hard
Nina Kurniasih
Used 7+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah ini merupakan tag javascript yang dapat disisipkan pada dokumen HTML
<js>
<javascript>
<script>
<jquery>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah adalah sintak javascript untuk mengambil elemen HTML secara spesifik pada atribut ID
A. document.getElementById(“demo”);
B. document.getElementByName(“demo”);
C. document.getElementsByClassName(“demo”);
D. document.getElementsByTagName(“demo”);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kita dapat menambahkan sintak javascript dalam dokumen HTML pada bagian
A. di dalam tag <head>
B. di dalam tag <body>
C. Bisa di dalam tag <head> maupun<body>
D. Tidak bisa keduanya
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut sintak yang benar untuk menulis kalimat Hello World
A. document.line(“Hello Wordl”)
B. document.show(“Hello Wordl”)
C. document.alert(“Hello Wordl”)
D. document.write(“Hello Wordl”)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Penulisan kode program dalam javascript bersifat case sensitive! Pernyataan ini bernilai
A. Benar
B. Salah
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana membuat komentar di javascript
A. <!–ini komentar–>
B. ini komentar
C. //ini komentar
D. /* ini komentar */
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana membuat komentar di javascript bila lebih dari satu baris kode
A. <!–Komentar lebih dari satu baris–>
B. //Komentar lebih dari satu baris//
C. </Komentar lebih dari satu baris/>
D. /*Komentar lebih dari satu baris*/
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Pemrograman Berorientasi Objek dengan Java Netbeans

Quiz
•
12th Grade
30 questions
EVALUASI BAB 1

Quiz
•
9th Grade - University
29 questions
list loop and traversals

Quiz
•
9th - 12th Grade
33 questions
2023 - 10.25. - 4.TR do 30. 2.11.

Quiz
•
12th Grade
25 questions
CSP Unit 6 Review

Quiz
•
12th Grade
30 questions
AP CSA - Unit 6 Arrays Test Review

Quiz
•
10th - 12th Grade
31 questions
JavaScriptjQuery-00-JS-Introduction[F]

Quiz
•
9th - 12th Grade
25 questions
HTML

Quiz
•
9th - 12th 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