Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Pioneers of Computer

Pioneers of Computer

7th - 8th Grade

10 Qs

Do You Know Your Keyboard?

Do You Know Your Keyboard?

5th - 10th Grade

15 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Pretest Pengolahan Data Dasar

Pretest Pengolahan Data Dasar

7th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

Pre-Test: Search Engine

Pre-Test: Search Engine

7th Grade

10 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

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?