Search Header Logo

Coding Conditionals

Authored by Stephanie Kimbrough

Computers

6th - 8th Grade

Used 30+ times

Coding Conditionals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What operation is correct for the given condition?

4 __ 5

<

>

<=

>=

==

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What operation is correct for the given condition?

7 __ 5

<

>

<=

>=

==

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

What operation is correct for the given condition?

5 __ 5

Select all that apply.

<

>

<=

>=

==

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What operation is correct for the given condition?

c __ 5

Select all that apply.

<

>

<=

>=

!=

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which statement is correct?

If the water level is reached, then turn off the motor. If the water level is not reached, then measure the level and repeat the sequence.

If the water level is reached, then measure the level. If the water level is not reached, then turn off the motor.

If the water level is reached, then turn off the motor. If the water level is not reached, then turn off the motor.

If the water level is reached, then measure the level. If the water level is not reached, then measure the level and repeat the sequence.

If the water level is reached, then turn off the motor. If the water level is not reached, then measure the level.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of an if-else statement?

The purpose of an if-else statement is to execute the code block multiple times.

The purpose of an if-else statement is to execute different code blocks based on a condition.

The purpose of an if-else statement is to execute the code block only if the condition is false.

The purpose of an if-else statement is to execute the same code block regardless of the condition.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the possible values of a boolean expression?

yes, no

1, 0

on, off

true, false

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?