
JavaScript Essentials Quiz
Authored by Ebinbin Ajagun
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these is not correct about variables?
Variables are fundamental to programming
Variables give names to data
Variables are containers used to store data or data values
Variables are the data types used in JavaScript
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of these is not a primitive data type?
String
Number
Array
Undefined
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What data type is the following variable?
const PI = 3.14;
String
Constant
Number
Bigint
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What data type is the following variable?
c = 85;
Constant
String
Number
Boolean
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which one is generally better for an unknown variable, line 1 or line 2?
let empty1 = undefined; //line 1
let empty2 = null; //line 2
Line 1
Line 2
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the console output for the following code?
let greetStr1 = "Hello";
greetStr1 = "World";
console.log(greetStr1);
Hello
World
HelloWorld
Hello World
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be logged to the console?
let x = "World!";
let y = "Hello $(x)";
console.log(y);
Hello
World
Hello World!
HelloWorld
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
15 questions
Cloud Computing_2
Quiz
•
Professional Development
20 questions
SQL Programming Revision
Quiz
•
Professional Development
15 questions
Sec+ CH.1 Review Test
Quiz
•
Professional Development
15 questions
Ipad
Quiz
•
1st Grade - Professio...
20 questions
League of Legends (2020)
Quiz
•
6th Grade - Professio...
11 questions
Password Safety & Security
Quiz
•
KG - Professional Dev...
20 questions
Ch.8 - Introducing Python
Quiz
•
6th Grade - Professio...
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
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 Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...