JavaScript Fundamentals Quiz
Quiz
•
Education
•
12th Grade
•
Practice Problem
•
Medium
Hans Daduya
Used 3+ times
FREE Resource
Enhance your content in a minute
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable in JavaScript?
a.var
b.let
c.const
d.All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will typeof true return?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a comment in JavaScript?
a.<-- This is a comment -->
b.#This is a comment
c.//This is a comment
d.'This is a comment'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array in JavaScript?
a.let arr={};
b.let arr=[];
c.let arr=();
d.let arr=<>;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a JavaScript data type?
a.undefined
b.string
c.integer
d.number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in an array in JavaScript?
a.0
b.1
c.-1
d.Depends on the array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a constant variable in JavaScript?
a.var
b.const
c.let
d.static
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
30 questions
SFU 2021 BAHASA INGGRIS KELAS XII
Quiz
•
12th Grade
27 questions
BJC AP CSP Unit 3 Exam Review
Quiz
•
9th - 12th Grade
30 questions
Kuis Pengetahuan Umum SD
Quiz
•
1st Grade - University
30 questions
Materi Pramuka
Quiz
•
11th - 12th Grade
30 questions
Soal Pramuka Kelas 12
Quiz
•
12th Grade
27 questions
Les métamorphoses du moi
Quiz
•
10th Grade - University
27 questions
8. SINIF 1. ÜNİTE PEYGAMBERİMİZİN HAYATI 2
Quiz
•
8th - 12th Grade
35 questions
Kuis ASJ
Quiz
•
12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
