Search Header Logo

JavaScript Practice Quiz

Authored by Chimp Attack

Computers

8th Grade

Used 43+ times

JavaScript Practice Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To declare variable that can be reassigned, use

let

const

function

console.log

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables defined with let cannot be redeclared.

True

False

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Some of JavaScript assignment operator

*+

/=

%=

**=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the reasons to use functions

You can reuse code

You can reassign the parameter

You don't have to use console.log

Simpler coding

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we add more conditions in conditional statements?

else if

if...else

if

use logical operator such as &&

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Execute the function named myFunction

function myFunction() {

alert("Hello World!");

}

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A function declaration consists of the following

The function keyword.

The name of the function, or its identifier, followed by parentheses.

A function body enclosed in the function’s curly brackets, { }.

a backtick inside console.log()

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?