JavaScript Variables and Arithmetic

JavaScript Variables and Arithmetic

8th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Identidad Corporativa

Identidad Corporativa

10th Grade

15 Qs

Kiểm tra giữa kỳ 1 Tin 8

Kiểm tra giữa kỳ 1 Tin 8

8th Grade

15 Qs

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

ASJ_XII_UH1

ASJ_XII_UH1

1st - 12th Grade

15 Qs

G8_Ch2_Windows Movie Maker

G8_Ch2_Windows Movie Maker

8th Grade

15 Qs

JavaScript Variables and Arithmetic

JavaScript Variables and Arithmetic

Assessment

Quiz

Computers

8th - 12th Grade

Hard

CCSS
RI.9-10.4, RI.11-12.4, RI.7.4

+1

Standards-aligned

Created by

Tim Helland

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a JavaScript operator?

+

*

++

*=

=+

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is most likely to appear in a JavaScript program?

; (semicolon)

= (equals)

" (quote)

, (comma)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a JavaScript keyword?

var

variable

equal

add

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

var a = 2;

Which of these will cause a to be 3 times larger?

a += 3;

a += 4;

a += 1

a++;

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these will cause a syntax error?

var strA = "She says, "Hi There" ";

var a = 4.98 - 15;

var b = b;

var strB = "\"quoted\""

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this code?


var a = 15 % 3;

a = 0

a = 5

a = 12

a = 45

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is NOT a valid starting character for JS variable names?

A (uppercase letter)

a (lowercase letter)

$ (dollar sign)

_ (underscore)

3 (digit)

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?