Perhatikan kode Javascript berikut:
Apa yang akan dicetak oleh kode di atas?
Javascript Variables
Quiz
•
Computers
•
10th Grade
•
Hard
er er
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Perhatikan kode Javascript berikut:
Apa yang akan dicetak oleh kode di atas?
1020
30
"angka1 + angka2"
undefined
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Tentukan output yang dihasilkan dari kode program tersebut
10,10
20,20
10,20
20,10
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Hasil dari output kode program tersebut adalah...
10
11
12
13
4.
MULTIPLE SELECT QUESTION
30 sec • 10 pts
Jika x = 10 dan y = "20", maka hasil dari x + y adalah…
30
1020
2010
Terjadi Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Perhatikan kode Javascript berikut: Apa yang akan dicetak oleh kode di atas?
Ani Budi
Ani undefined
Budi Ani
undefined Budi
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Manakah dari pernyataan berikut yang benar tentang operator logika dalam Javascript?
Operator && (and) dan || (or) mengevaluasi semua operan mereka, bahkan jika hasilnya sudah diketahui.
Operator ! (not) membalik nilai boolean dari operan.
Operator ternary dapat digunakan sebagai alternatif untuk struktur if-else.
Semua jawaban di atas benar.
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa nilai yang akan dicetak oleh kode di atas?
0
1
10
undefined
15 questions
Pengenalan Perangkat Jaringan
Quiz
•
10th Grade
15 questions
PTS Informatika Genap 2023/2024
Quiz
•
10th Grade
10 questions
Evaluasi Javascript 1
Quiz
•
10th Grade
10 questions
Pre-Test Struktur Percabangan If dan If-Else
Quiz
•
10th Grade - University
10 questions
TES SUMATIF 5-JKI | Informatika
Quiz
•
10th Grade
10 questions
STS_II_INFORMATIKA_10
Quiz
•
10th Grade
15 questions
Pemograman Dasar
Quiz
•
10th Grade
10 questions
Pre Test IPv4 VS IPv6
Quiz
•
10th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025
Quiz
•
9th - 12th Grade
10 questions
GPA Lesson
Lesson
•
9th - 12th Grade
15 questions
SMART Goals
Quiz
•
8th - 12th Grade