Search Header Logo

JavaScript Basics Test

Authored by Greg Baker

Computers

10th - 12th Grade

Used 53+ 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

20 questions

Show all answers

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

30 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

A JavaScript file has an extension name of

.jscp
.js
.css
.Jp

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?