FEW-Js1

FEW-Js1

University

11 Qs

quiz-placeholder

Similar activities

BMC SIL 2019

BMC SIL 2019

University

9 Qs

Aesthetic And Function

Aesthetic And Function

University

10 Qs

Automation using Pneumatic systems

Automation using Pneumatic systems

University

15 Qs

GESTALT

GESTALT

University

10 Qs

Quiz Day 4

Quiz Day 4

University

10 Qs

Elements and Principles of Art and Design

Elements and Principles of Art and Design

12th Grade - University

14 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

quiz for mooc

quiz for mooc

University

12 Qs

FEW-Js1

FEW-Js1

Assessment

Quiz

Design

University

Practice Problem

Hard

Created by

Gakwaya Nkundimana Joel

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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);

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?