Search Header Logo

If else condition

Authored by Sumaitha Farzeen

Computers, Education, Special Education

3rd - 4th Grade

Used 53+ times

If else condition
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

30 sec • 1 pt

Which operator is used to check for equality?

=

==

===

equalOf()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When will the code inside the if statement runs?

When the condition is true

When the condition is false

When the condition is ignored

When the condition is denied

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of conditional statements?

It is used to display the list of items.

It is used to store multiple items.

It is used to check whether the given condition is true or false.

It is used to test the result.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When does the code inside the else part work?

It works when the condition inside the if statement is true.

It works when the condition inside the if statement is false.

It works when the player types an input.

It works after checking the result.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A _______ operator compares two values and returns a Boolean value as the result.

Logical

If

Else

Comparison

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?