JavaScript Practice Quiz

JavaScript Practice Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

Arrays

Arrays

4th Grade - Professional Development

20 Qs

Code.org Discoveries Conditional Blocks

Code.org Discoveries Conditional Blocks

6th - 9th Grade

20 Qs

Conditional Statements JavaScript

Conditional Statements JavaScript

8th - 12th Grade

10 Qs

JavaScript Fundamentals

JavaScript Fundamentals

8th Grade

15 Qs

JS Talks, Quiz #5

JS Talks, Quiz #5

1st - 12th Grade

15 Qs

JavaScript Level 1

JavaScript Level 1

5th - 9th Grade

20 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

Lección1 - JavaScript

Lección1 - JavaScript

1st Grade - Professional Development

17 Qs

JavaScript Practice Quiz

JavaScript Practice Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Chimp Attack

Used 41+ times

FREE Resource

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

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?