JavaScript Essentials Quiz

Quiz
•
Computers
•
Professional Development
•
Hard
Ebinbin Ajagun
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Programming terms

Quiz
•
Professional Development
15 questions
JavaScript ( part I )

Quiz
•
Professional Development
21 questions
Nuevo Test de JS

Quiz
•
Professional Development
18 questions
Programador Web - 12

Quiz
•
Professional Development
15 questions
JavaScript String Methods

Quiz
•
12th Grade - Professi...
15 questions
Quiz jeux Vidéos

Quiz
•
Professional Development
15 questions
Introduction to PHP

Quiz
•
Professional Development
20 questions
pretest RPL jaringan

Quiz
•
Professional Development
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