
Operator JavaScript

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Muhammad ananta
Used 4+ times
FREE Resource
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>
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
web tasarım programlama-1

Quiz
•
12th Grade
15 questions
Filtering

Quiz
•
10th - 11th Grade
12 questions
SAINS KOMPUTER T5 3.1.1 Keperluan Bahasa Penskripan Klien

Quiz
•
10th - 11th Grade
10 questions
Evaluasi dan Refleksi - 2

Quiz
•
12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
12 questions
Web Development

Quiz
•
8th - 10th Grade
10 questions
JS Practice: ITS Certification

Quiz
•
12th Grade
10 questions
HTML e CSS

Quiz
•
12th Grade
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade