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

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

If age = 9 what would print out?

Back

$45

2.

FLASHCARD QUESTION

Front

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

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()" ??)

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()" ??)

Back

AAACCC

5.

FLASHCARD QUESTION

Front

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

Back

BBB

6.

FLASHCARD QUESTION

Front

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

Back

BBB

7.

FLASHCARD QUESTION

Front

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

Back

AAA

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?