Basics of If-Else Statements

Basics of If-Else Statements

Assessment

Flashcard

Computers

5th Grade

Practice Problem

Hard

Created by

IT Teacher

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

If statement

Back

Executes code if condition is true

2.

FLASHCARD QUESTION

Front

Else statement

Back

Executes code if condition is false

3.

FLASHCARD QUESTION

Front

Else if statement

Back

Checks another condition if first is false

4.

FLASHCARD QUESTION

Front

Syntax of if

Back

if (condition) { code }

5.

FLASHCARD QUESTION

Front

Syntax of else

Back

else { code }

6.

FLASHCARD QUESTION

Front

Syntax of else if

Back

else if (condition) { code }

7.

FLASHCARD QUESTION

Front

Condition

Back

Expression that evaluates to true or false

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?