Search Header Logo

Conditionals and Comparisons Quiz

Authored by srishti ahuja

Other

KG - 12th Grade

Used 9+ times

Conditionals and Comparisons Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write the statement that will check if a is less than or equal to b?

if a <= b:

if a < b

if a less than b:

if a > b

if a < b:

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write the statement that will check if a is equal to b?

if a equals b:

if a === b:

if a == b:

if a = b:

if a == b

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will print?

"that statement is incorrect"

"5 is less than 5"

nothing

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What would print?

"A"

"B"

"C"

"B"

"C"

"A"

"C"

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what would it print?

"A"

"A"

"D"

"B"

"C"

it will be an error

I really don't know

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?