Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Conditional Statements JavaScript

Conditional Statements JavaScript

8th - 12th Grade

10 Qs

Module 3 - Python Key words

Module 3 - Python Key words

8th Grade

10 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

8th - 10th Grade

16 Qs

Computer Science Coding

Computer Science Coding

8th - 9th Grade

18 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python Final Assessment

Python Final Assessment

4th - 12th Grade

10 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Conditionals in JavaScript

Conditionals in JavaScript

Assessment

Quiz

Computers

7th - 8th Grade

Medium

Created by

Mr. Stevens

Used 34+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?