
Operator JavaScript
Authored by Muhammad ananta
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Berapakah nilai VALUE?
<script> konstan NILAI = 10 ; NILAI = 20 ; </script>
10
30
20
Type Error
2.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Apa keluaran dari kode JavaScript berikut?
<script> var nama = "Alex" + " " + "Alvin" ; dokumen .getElementById( "demo" ).innerHTML = nama; </script>
AlexAlvin
Type Error
Alex Alvin
alex alvin
3.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Pernyataan JavaScript manakah yang benar untuk mencetak penjumlahan dua angka 10 dan 20 pada paragraf yang idnya 'hasil'?
getElementById("hasil").innerHTML = 10+20;
getElementById("hasil").innerHTML = "10+20";
getElementById("hasil").innerHTML = 10+20:
getElementById("hasil").innerHTML = '10+20';
4.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Apa output dari kode JavaScript berikut (berikan contoh)?
<script> misalkan a = 10 ; misalkan a = 0 ;</script>
100
0
SyntaxError
10
5.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Metode JavaScript manakah yang digunakan untuk mengakses elemen HTML berdasarkan id?
getElementById()
getElementById("id")
elementById(id)
getElement(id)
6.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Nama Operator Dari Simbol ( * ) adalah....
Pertambahan
Pemangkatan
Perkalian
Pembagian
7.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Di elemen HTML manakah kita meletakkan kode JavaScript?
<javascript>...</javascript>
<css>...</css>
<js>...</js>
<script>...</script>
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
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
python
Quiz
•
10th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
12 questions
Tabele HTML
Quiz
•
9th Grade
13 questions
EXAMEN-2°AÑO-INFORMATICA P3-2021
Quiz
•
1st - 9th Grade
15 questions
Access 2013 - 4(consultas)
Quiz
•
10th 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