Search Header Logo

Python - Conditionals

Authored by Karen Koelm

Computers

9th - 12th Grade

Used 79+ times

Python - Conditionals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which code means not equal to?

==

<=

>

!=

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a Relational Operator?

<=

==

=

!=

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is NOT a Boolean Statement?

name == "duck"

8 <= 12

num = int(Input("Pick a number.")

total > 0

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which booleans have a value of True?

12 - 3 == 9

30 <= 25

17 != 11 + 6

15 / 5 == 3.0

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are valid values for a boolean?

Select ALL that apply.

True

false

0

False

1

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the final value for total?

6

4

7

9

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which lines of code will be skipped when the program is run?

4, 7, 8

4

3, 4, 7, 8

7, 8

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?