Conditionals in JavaScript

Conditionals in JavaScript

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

КҮРДЕЛІ ШАРТТАРДЫ ПРОГРАММАЛАУ. PYTHON

КҮРДЕЛІ ШАРТТАРДЫ ПРОГРАММАЛАУ. PYTHON

7th Grade

19 Qs

Gaming Lesson 3

Gaming Lesson 3

6th - 7th Grade

17 Qs

C# review

C# review

7th - 8th Grade

15 Qs

Quiz - JS Sequences - Conditionals structures

Quiz - JS Sequences - Conditionals structures

7th Grade

13 Qs

Computer Science Coding

Computer Science Coding

8th - 9th Grade

18 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Module 3 - Python Key words

Module 3 - Python Key words

8th Grade

10 Qs

JavaScript Strings

JavaScript Strings

7th Grade

15 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?