Introduction to Python - If and Else

Introduction to Python - If and Else

1st - 6th Grade

10 Qs

quiz-placeholder

Similar activities

algorithm and flow charts chapter 7

algorithm and flow charts chapter 7

6th - 8th Grade

15 Qs

Programming

Programming

1st Grade

15 Qs

PYTHON "If" Statement

PYTHON "If" Statement

6th Grade

11 Qs

Grade 3 ICT Parts of computer and Hardware &Software

Grade 3 ICT Parts of computer and Hardware &Software

3rd Grade

12 Qs

Python - operacje wejścia i wyjścia

Python - operacje wejścia i wyjścia

1st - 2nd Grade

11 Qs

KUIZ PYTHON

KUIZ PYTHON

1st - 5th Grade

15 Qs

Python If

Python If

6th Grade

11 Qs

Output devices

Output devices

2nd Grade

10 Qs

Introduction to Python - If and Else

Introduction to Python - If and Else

Assessment

Quiz

Computers

1st - 6th Grade

Easy

Created by

Khadeeja Haji

Used 21+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does this print?

if 5 > 7:

print("Hello!")

else:

print("Bye")

Hello

Bye

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this true or false?

6 > 8

True

False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does this print?

if 5 == 5:

print("Right")

else:

print("Wrong")

Right

Wrong

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this print?

if 6 != 6:

print("hi")

else:

print("hello")

hello

hi

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False?

7 <= 8

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code output?

x = True

print(not x)

False

True

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this output?

x = True

y = False

print(x and y)

False

True

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?