JavaScript Essentials Quiz

JavaScript Essentials Quiz

Professional Development

16 Qs

quiz-placeholder

Similar activities

Advanced JavaScript

Advanced JavaScript

Professional Development

20 Qs

Mega Quizz 🎁

Mega Quizz 🎁

Professional Development

18 Qs

Soal HTML, CSS, dan JavaScript Basic

Soal HTML, CSS, dan JavaScript Basic

Professional Development

20 Qs

JavaScript Pass by value, Pass by Reference, Scope Hoisting

JavaScript Pass by value, Pass by Reference, Scope Hoisting

Professional Development

15 Qs

JavaScript Advanced

JavaScript Advanced

Professional Development

20 Qs

JavaScript

JavaScript

Professional Development

21 Qs

Javascript basics

Javascript basics

Professional Development

15 Qs

JRDL - JS Arrays and Objects

JRDL - JS Arrays and Objects

6th Grade - Professional Development

12 Qs

JavaScript Essentials Quiz

JavaScript Essentials Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?