Coding Conditionals

Coding Conditionals

6th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Chapter 5 Coding Fundamentals

Chapter 5 Coding Fundamentals

6th Grade

12 Qs

Python Operators & Expressions

Python Operators & Expressions

8th - 11th Grade

13 Qs

Advanced Functions

Advanced Functions

6th - 8th Grade

14 Qs

If-Statement and Relational Operators Quiz

If-Statement and Relational Operators Quiz

6th Grade - University

15 Qs

Operators C++

Operators C++

8th Grade

18 Qs

Python Review

Python Review

7th - 8th Grade

17 Qs

Selection Control Structure  Quiz

Selection Control Structure Quiz

6th Grade - University

10 Qs

Python Lesson 4 : if-elif-else conditionals

Python Lesson 4 : if-elif-else conditionals

8th Grade

10 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?