FEW-Js1

FEW-Js1

University

11 Qs

quiz-placeholder

Similar activities

Light & Color

Light & Color

University

10 Qs

Pendahuluan 1

Pendahuluan 1

University

11 Qs

Banho de chuva!!

Banho de chuva!!

University

10 Qs

Design Thinking Module 1

Design Thinking Module 1

University

10 Qs

Key Factors that Affect UX Design Quiz

Key Factors that Affect UX Design Quiz

University

10 Qs

DT Command Terms Quiz

DT Command Terms Quiz

University

9 Qs

GAMING QUIZZ

GAMING QUIZZ

7th Grade - Professional Development

13 Qs

Flowlab Learning Material Quiz

Flowlab Learning Material Quiz

11th Grade - University

10 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?