FEW-Js1

FEW-Js1

University

11 Qs

quiz-placeholder

Similar activities

S4 - Dirección de Arte y Estrategia Digital

S4 - Dirección de Arte y Estrategia Digital

University

11 Qs

HTML forms

HTML forms

11th Grade - University

10 Qs

Customer Relationship Management & Live Chat

Customer Relationship Management & Live Chat

12th Grade - Professional Development

10 Qs

Design for Manufacturing

Design for Manufacturing

University

10 Qs

Canva Basics Intermediate

Canva Basics Intermediate

University

10 Qs

Exercise 1.1 - Overview on Timber Design

Exercise 1.1 - Overview on Timber Design

University

10 Qs

HPC10- VISUAL DISPLAY

HPC10- VISUAL DISPLAY

University

15 Qs

Laporan Pengujian Sistem

Laporan Pengujian Sistem

University

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