Search Header Logo

if statement JS

Authored by veebna d

7th Grade

Used 59+ times

if statement JS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 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

Fill in the blank so people 18 years and older are told to vote.
if ( age _________ 18 ) System.out.println("too young!"); else System.out.println("GO VOTE!");

>
>=
<=
<

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?