4/24/24 Warm-up (Intro to "If") old 5/1

4/24/24 Warm-up (Intro to "If") old 5/1

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

If age = 25 what would print out? Options: $5, $20, $45, $5 $45

Media Image

Back

$20

3.

FLASHCARD QUESTION

Front

What will the output of the code below be? (hint: is this a "if()", "if()...else", or "else.. if()" ??)

Media Image

Back

AAACCCBBB

4.

FLASHCARD QUESTION

Front

What is the output of the following code segment? (hint: is this a "if()", "if()...else", or "else.. if()" ??)

Media Image

Back

AAACCC

5.

FLASHCARD QUESTION

Front

What is the output of the following code segment? (Careful on this, notice there are NO BRACKETS { } )

Media Image

Back

BBB

6.

FLASHCARD QUESTION

Front

What is the output (hint: do both have to be true or just one?)

Media Image

Back

BBB

7.

FLASHCARD QUESTION

Front

What is the output (hint: do both have to be true or just one?)

Media Image

Back

AAA

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?