Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Revision Quiz 2 - Information Technology

Revision Quiz 2 - Information Technology

7th - 8th Grade

10 Qs

EVOLUTION OF COMPUTERS

EVOLUTION OF COMPUTERS

4th - 8th Grade

16 Qs

Programming Lesson 3

Programming Lesson 3

6th - 8th Grade

12 Qs

Conditionals in JavaScript

Conditionals in JavaScript

Assessment

Quiz

Computers

7th - 8th Grade

Practice Problem

Medium

Created by

Mr. Stevens

Used 35+ 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

What checks a specific condition and performs a task based on the condition?

switch statements

operators

console.log

conditional statements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will print to the console?

Time to buy!

Time to wait for a sale.

sale

Nothing, there is a syntax error on the fourth line

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will print to the console?

Time to buy!

Time to wait for a sale.

sale

Nothing, there is a syntax error on the fourth line

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct syntax for the strict identity operator.

=

==

===

====

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Boolean is the name for a true/false value.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which correctly matches the logical operator with its syntax?

and - !

or - | |

not - &&

and - &&

or - | |

not - !

and - | |

or - !

not - &&

and - &&

or - !

not - | |

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For this conditional to be true....

day must be equal to Saturday and Sunday

day must be not equal to Saturday or Sunday

day must be equal to Saturday or Sunday

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?