Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Robotics-PNEUMATIC

Robotics-PNEUMATIC

KG - University

10 Qs

JavaScript quiz for beginners

JavaScript quiz for beginners

7th Grade

10 Qs

AppLab

AppLab

6th - 8th Grade

10 Qs

Python

Python

7th Grade

10 Qs

Name the Console

Name the Console

7th Grade

16 Qs

Quiz sobre Sentencias IF y bucles en Python

Quiz sobre Sentencias IF y bucles en Python

7th Grade

12 Qs

8.3_PythonProgramming revision

8.3_PythonProgramming revision

8th Grade

18 Qs

Python - Data Types and Operators

Python - Data Types and Operators

7th Grade

12 Qs

Conditionals in JavaScript

Conditionals in JavaScript

Assessment

Quiz

Computers

7th - 8th Grade

Medium

Created by

Mr. Stevens

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