If ... else

If ... else

4th Grade - University

15 Qs

quiz-placeholder

Similar activities

Control Structures in Java

Control Structures in Java

8th Grade

10 Qs

Python Lists Quiz

Python Lists Quiz

7th Grade

20 Qs

If-Else in Java

If-Else in Java

8th Grade

10 Qs

AP CSP Unit 5 Chapter 2

AP CSP Unit 5 Chapter 2

KG - University

15 Qs

Python Lists

Python Lists

University

20 Qs

If-Else Statements

If-Else Statements

9th Grade

10 Qs

quiz

quiz

12th Grade

15 Qs

python IF part1

python IF part1

9th Grade

14 Qs

If ... else

If ... else

Assessment

Quiz

Computers

4th Grade - University

Medium

Created by

reda mohamed

Used 30+ times

FREE Resource

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"

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?