Javascript Study I-II
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Rahmat BP
Used 4+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 2 pts
Komentar di JavaScript dapat ditulis dengan cara
// komentar
/* komentar ke-1
komentar ke-2 */
/* komentar ke-1 /* komentar ke-2 */ komentar ke-3*/
/* komentar baris 1
// komentar baris 2 */
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Pernyataan di bawah ini adalah benar, kecuali
var
digunakan untuk mendeklarasikan sebuah variabel, opsional menginisialisasi sebuah nilai.
let
digunakan untuk mendeklarasikan lingkup-blok, variabel lokal, opsional menginisialisasi sebuah nilai.
const
digunakan untuk mendeklarasikan sebuah lingkup-blok, baca-saja dinamakan konstanta.
tidak ada let dan const di dalam JavaScript
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Penulisan karakter pertama variable boleh menggunakan tanda $
Benar
Salah
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Penulisan karakter pertama variable boleh menggunakan angka
Benar
Salah
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
var a;
console.log(a);
// hasil dari console.log(a) adalah
undefined
null
empty string
semuanya salah
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
if (true) {
var x = 5;
}
console.log(x);
// hasil dari console.log(x) adalah
5
undefined
error
"5"
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
if (true) {
let y = 5;
}
console.log(y);
// hasil dari console.log(y) adalah
5
undefined
error
"5"
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
50 questions
Informatika Kelas X analisis data & algoritma pemrograman
Quiz
•
10th Grade
45 questions
GCSE Computing
Quiz
•
10th - 11th Grade
50 questions
Soal Kejuruan TKJ 4
Quiz
•
10th - 11th Grade
50 questions
Quiz Latihan Soal-Soal UTS Pengantar Organisasi Komputer
Quiz
•
KG - University
45 questions
Computer Architecture : Basic
Quiz
•
8th - 10th Grade
50 questions
ATS TIK KELAS X GANJIL SNR
Quiz
•
10th Grade
50 questions
Dasar Dasar Desain Grafis
Quiz
•
10th Grade
51 questions
Arduino
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
