Search Header Logo

JavaScript Basics 1

Authored by Tom Riherd

Computers

6th - 8th Grade

Used 50+ times

JavaScript Basics 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which 1 of the following symbols is used for JavaScript comments?

\\
^
?
//

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type of variable is
var typeOfApples="Fuji";

Int
Float
Boolean
String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I declare a new variable?

var newVariable = 5;
Variable int = new Variable();
var 5 = myVariable;
int var = 5;

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following platform(s) can be used to run Javascript Code

Google Chrome

Firefox

Microsoft Edge

Safari

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

What surrounds a string?

Quotations " "

Curly Brackets { }

Parenthesis ( )

Square Brackets [ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

// This is a comment

/ This is a comment /

*/ This is a comment /*

\\This is a comment

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?