Coding Conditionals

Coding Conditionals

6th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Python Review

Python Review

7th - 8th Grade

17 Qs

Boolean Operators Quiz

Boolean Operators Quiz

8th Grade

10 Qs

Review Python

Review Python

8th Grade

15 Qs

Qbasic character sets class 6

Qbasic character sets class 6

6th Grade

17 Qs

L2 Selection in Programming

L2 Selection in Programming

8th Grade

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Coding Basics in Swift

Coding Basics in Swift

7th Grade

11 Qs

Scratch

Scratch

7th Grade

11 Qs

Coding Conditionals

Coding Conditionals

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Stephanie Kimbrough

Used 30+ times

FREE Resource

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

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?