Search Header Logo
12/9 Warm-up (Conditionals "if") old 4/24/24

12/9 Warm-up (Conditionals "if") old 4/24/24

Assessment

Flashcard

others

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

If age = 9 what would print out?

Media Image

Back

$45

2.

FLASHCARD QUESTION

Front

According to the code below, if you cleaned your room and you walked the dog but you didn't wash the dishes, would you get ice cream?

Media Image

Back

Yes

3.

FLASHCARD QUESTION

Front

If age = 25 what would print out?

Media Image

Back

$20

4.

FLASHCARD QUESTION

Front

If you cleaned your room but did not wash the dishes nor walk the dog, would you get ice cream?

Media Image

Back

no

5.

FLASHCARD QUESTION

Front

The Operator that combines two conditions into a single Boolean value that is TRUE only when BOTH CONDITIONS ARE TRUE, but false otherwise is ____

Back

&&

6.

FLASHCARD QUESTION

Front

The Operator that combines two conditions into a single Boolean value that is TRUE only when AT LEAST ONE of the CONDITIONS IS TRUE, is ____

Back

| |

7.

FLASHCARD QUESTION

Front

When you code an "if" statement inside another "if" statement, it is known as..

Back

nested

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?