Coding Conditionals

Coding Conditionals

6th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

HTML

HTML

8th - 12th Grade

15 Qs

Revision Quiz 2 - Information Technology

Revision Quiz 2 - Information Technology

7th - 8th Grade

10 Qs

EVOLUTION OF COMPUTERS

EVOLUTION OF COMPUTERS

4th - 8th Grade

16 Qs

Programming Lesson 3

Programming Lesson 3

6th - 8th Grade

12 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Coding Conditionals

Coding Conditionals

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Stephanie Kimbrough

Used 30+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?