if statement JS

if statement JS

7th Grade

9 Qs

quiz-placeholder

Similar activities

The 7 Habits of Highly Defective Teens

The 7 Habits of Highly Defective Teens

7th - 12th Grade

14 Qs

U15 Practice (Interchange 2)

U15 Practice (Interchange 2)

3rd - 12th Grade

12 Qs

Texas Independence

Texas Independence

7th Grade

10 Qs

Helen of Troy & The Judgement of Paris

Helen of Troy & The Judgement of Paris

5th - 10th Grade

10 Qs

Sports definition

Sports definition

1st - 8th Grade

10 Qs

HANG OUT 6-U4

HANG OUT 6-U4

6th - 8th Grade

13 Qs

Martin Luther King, Jr.

Martin Luther King, Jr.

5th - 7th Grade

10 Qs

Keystone Algebra Module 1 2018

Keystone Algebra Module 1 2018

7th - 10th Grade

12 Qs

if statement JS

if statement JS

Assessment

Quiz

7th Grade

Medium

Created by

veebna d

Used 57+ times

FREE Resource

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!");
>
>=
<=
<

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Danger: 
Danger: deep water.
Danger: deep water.  No swimming allowed.
deep water.  No swimming allowed. 

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
true 
false
depends on compiler
sometimes