Search Header Logo

If ... else

Authored by reda mohamed

Computers

4th Grade - University

Used 30+ times

If ... else
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value

==
!=
>
<

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is not equal to another value

==
<=
>=
!=

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of this program:

Friday = False

if Friday:

print "Jeans day!"

else:

print "Uniform day"

Jeans day

Today is Friday

Uniform day

Not Friday

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is my result?
mickey = mouse                                   .
if mickey == mouse:                           .
.            print("Mickey is a mouse")
.else:                                                             .
.         print("Minnie rules")        .

"Mickey is a mouse"
"Minnie rules"
Nothing prints.
"Mickey is a mouse" & "Minnie rules"

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?