Basics of If-Else Statements

Basics of If-Else Statements

Assessment

Flashcard

Computers

5th Grade

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

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?