JavaScript Operators Quiz

JavaScript Operators Quiz

12th Grade

19 Qs

quiz-placeholder

Similar activities

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Google

Google

7th - 12th Grade

20 Qs

Lecture Exercise Topic 1.3

Lecture Exercise Topic 1.3

12th Grade

21 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Quiz ASJ

Quiz ASJ

12th Grade

20 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

quiz_G10

quiz_G10

12th Grade

20 Qs

Quiz1_12&11_2t_20214

Quiz1_12&11_2t_20214

12th Grade

20 Qs

JavaScript Operators Quiz

JavaScript Operators Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Danny Schell

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid value for a boolean?

True

False

Yes

The above are all valid

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol represents the or operator in JavaScript?

OR

or

|

||

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol represents the and operator in JavaScript?

AND

and

&

&&

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After the following code runs, what is the value of isWeekend? var isSaturday = true; var isSunday = false; var isWeekend = isSaturday || isSunday;

true

false

isWeekend

isSaturday || isSunday

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper operator for "not equals" in JavaScript?

!=!

!=, ~=, NOT EQUALS

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper way to compare if two values are equal in a boolean expression in JavaScript?

=

==

EQUALS

is

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we check if a variable num is even?

num.isEven() will be true

(num % 2 == 0) will be true

(num % 2 == 0) will be false

(num / 2 == 0) will be true

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?