Search Header Logo

Python Alternating Turns

Authored by David Platt

Computers

7th - 12th Grade

Used 16+ times

Python Alternating Turns
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command in python creates a loop?

which

what

while

whatfor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command forces a loop to stop

break

but

broke

breaking

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How long will a loop continue

As long as the condition is true

Forever

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the 3 boolean conditions we can use?

for, but, and

or, and, but

and, or, not

but, for, not

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We have the values TRUE & FALSE. What do these mean?

nothing

basically on and off

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We've been learning about alternating turns. What BOOLEAN do we use to alternate turns between 2 players or 2 things?

and

or

not

but

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you alternate the turn for a variable called player_1?

player_1 is not player_1

player_1 = not player_1

player_1 = player_2

player_1 or not player_1

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?