
Quiz JavaScript Dasar - P1 24/07/25

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Naufal Rafizi
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Awalnya, JavaScript dikembangkan dengan tujuan utama untuk...
Merancang database sebuah website.
Menambah gaya pada halaman web.
Membuat website menjadi lebih interaktif dan "hidup".
Mengatur struktur konten halaman web.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari pernyataan berikut yang tidak sesuai dengan aturan penamaan variabel dalam JavaScript?
Nama variabel dapat diawali dengan tanda dolar ($).
Nama variabel bersifat case sensitive, artinya huruf besar dan kecil dianggap berbeda.
Nama variabel tidak boleh diawali dengan angka.
Nama variabel dapat menggunakan spasi.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metode yang paling disarankan untuk menyisipkan kode JavaScript ke dalam HTML adalah...
Menggunakan file JavaScript eksternal dan memanggilnya dengan tag .
Menulis kode langsung di dalam tag .
Menulis kode di dalam tag .
Menempatkan kode di dalam tag .
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyword const digunakan untuk mendeklarasikan variabel yang...
Nilainya dapat diubah-ubah.
Bernilai konstan dan tidak bisa diubah setelah diinisialisasi.
Hanya bisa digunakan untuk tipe data number.
Memiliki jangkauan global.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tipe data yang merepresentasikan nilai "tidak ada nilai" atau variabel yang dideklarasikan tanpa diinisialisasi adalah...
Null
Undefined
Boolean
String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut: let namaLengkap = "Budi Santoso"; Gaya penulisan pada nama variabel tersebut dikenal sebagai...
PascalCase
snake_case
kebab-case
CamelCase
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Untuk menampilkan data atau pesan ke console pada browser, perintah yang digunakan adalah...
alert()
document.write()
console.log()
window.print()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Coding and AI Challenge

Quiz
•
10th Grade
11 questions
Quiz_P1_X-SIJA C

Quiz
•
10th Grade
15 questions
Pemrograman Visual dan Scratch

Quiz
•
7th Grade - University
5 questions
Dasar Koding dan Kecerdasan Artifisial

Quiz
•
10th Grade
10 questions
JavaScript: Aula 01

Quiz
•
9th - 12th Grade
10 questions
Uji Pengetahuan Algoritma dan Pemrograman

Quiz
•
10th Grade
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
10 questions
Koding dan Kecerdasan Artifisial

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade