Search Header Logo

Javascript Basics Test

Authored by Greg Baker

Computers

7th - 12th Grade

20 Questions

CCSS covered

Used 195+ times

Javascript Basics Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct Javascript format for a comment?

// "the text"

/"the text"/

*/"the text"/*

\\"the text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The conditional statement, in Javascript, begins with the word _______.

Then
Else
If
OK

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Indicates the beginning  and the end of a JavaScript section.

<html> </html>
<style> </style>
<article> </article>
<script> </script>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user-defined name for a memory location whose value can change over time.

variable
syntax
operator
token

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, you should include a semi-colon at the end of each statement.

yes
no

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript code is embedded in HTML documents between <script> and </script> tags.

True
False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What character do we use for multiplication?

#
x
*
/

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?