JavaScript Variables and Arithmetic

JavaScript Variables and Arithmetic

8th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Tecnología Digital

Tecnología Digital

12th Grade

12 Qs

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Spreadsheets

Spreadsheets

6th - 8th Grade

13 Qs

2021八年級資訊複習大作戰

2021八年級資訊複習大作戰

8th Grade

19 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 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)

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?