Javascript Study I-II

Quiz
•
Computers
•
10th Grade
•
Hard
Rahmat BP
Used 4+ times
FREE Resource
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"
Create a free account and access millions of resources
Similar Resources on Wayground
46 questions
PYTHON PROGRAMMING - FINAL EXAM REVIEW

Quiz
•
9th - 12th Grade
50 questions
Soal Campuran

Quiz
•
9th - 12th Grade
50 questions
EXAM REVIEW: Computing Principles

Quiz
•
9th - 12th Grade
50 questions
INFORMATIKA

Quiz
•
10th Grade
50 questions
Summer Quiz for Senior Class - Quiz Three

Quiz
•
9th - 12th Grade
47 questions
Computing and General Knowledge

Quiz
•
7th Grade - University
50 questions
Computer Systems and Algorithms Quiz

Quiz
•
10th Grade - University
50 questions
Quiz Metodologi Berorientasi Objek

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade