Conditionals Review

Conditionals Review

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Runs only if the previous "if" line was false and this condition is true.

Back

Else If Statement

2.

FLASHCARD QUESTION

Front

Starts a conditional: checks if a condition is true, and runs code if it is.

Back

If Statement

3.

FLASHCARD QUESTION

Front

The default or fallback: runs if none of the lines before were true.

Back

Else Statement

4.

FLASHCARD QUESTION

Front

Keyword to create a variable.

Back

var

5.

FLASHCARD QUESTION

Front

Outputs messages to the console. Options: If Statement, Else If Statement, Else Statement, var, console.log()

Back

console.log()

6.

FLASHCARD QUESTION

Front

What is the output for when var x = 5?

Back

7

7.

FLASHCARD QUESTION

Front

What is the output for when var x = 15?

Back

14

8.

FLASHCARD QUESTION

Front

What is the output for when var x = 1?

Back

3