JavaScript Basics 1

JavaScript Basics 1

6th - 8th Grade

30 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

JavaScript Variables and Arithmetic

JavaScript Variables and Arithmetic

Javascript Part 4

Javascript Part 4

Nov 11 - Do Now

Nov 11 - Do Now

More JavaScript Basics

More JavaScript Basics

Javascript Basics

Javascript Basics

JavaScript Quiz

JavaScript Quiz

JavaScript Quiz

JavaScript Quiz

JavaScript Basics 1

JavaScript Basics 1

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Tom Riherd

Used 50+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

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?

Discover more resources for Computers