
FEW-Js1
Quiz
•
Design
•
University
•
Practice Problem
•
Hard
Gakwaya Nkundimana Joel
Used 2+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a constant variable in JavaScript?
constant PI=3.14;
let PI=3.14;
const pi=3.14
none above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you try to reassign a value to a variable declared with const?
it will change the value
it will throw an error
it will create a new variable
nothing will happen
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the answer for this "let num; console.log(num);
null
0
undefined
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these variable names is NOT valid in JavaScript?
myVar
$price
1st_name
_myname
5.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let, var, and const are used to ______ variables in JavaScript.
6.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Variables created with const must be ______ during create.
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What will be the output?
const num;
num = 5;
console.log(num);
const num;
5
undefined
syntax error
num
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
10 questions
User experience
Quiz
•
University
13 questions
CBA Review DM 1
Quiz
•
6th Grade - University
10 questions
Assembly DRawing Quiz
Quiz
•
University
10 questions
BMC
Quiz
•
University - Professi...
11 questions
Video Games
Quiz
•
5th Grade - Professio...
15 questions
EDA Quiz
Quiz
•
University
15 questions
ASSEMBLLY
Quiz
•
University
15 questions
MKOR15904
Quiz
•
University
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
Discover more resources for Design
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
