Search Header Logo

Intro to IF statements

Authored by Ryan Goulet

Computers

KG - University

Used 120+ times

Intro to IF statements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

How many choices are possible when using a single if-else statement?

1
2
3
4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Under
Over
Under the limit
Over the limit

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

You lose the prize
You lose
You win
You win the prize

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

You win the prize
You lose
You win
You lose the prize

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19

T, F, F, F
T, T, T, T
F, T, F, F
F, T, T, F

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following expression:
2 + 2 == 4

true
false
sometimes true
only true on sundays

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following expression
Math.pow(2, 3) >= 9;

true
false
compile error
only true when the Patriots win

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?