Python Alternating Turns

Python Alternating Turns

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

WAN Sesi 1

WAN Sesi 1

1st Grade - University

10 Qs

ukuran data

ukuran data

1st - 12th Grade

10 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

tin 10 l11

tin 10 l11

12th Grade

10 Qs

Kiểm tra TX tin 8

Kiểm tra TX tin 8

8th Grade

10 Qs

JAVA IDENTIFIERS

JAVA IDENTIFIERS

6th - 8th Grade

14 Qs

PITD Assessment

PITD Assessment

8th Grade

10 Qs

Python Alternating Turns

Python Alternating Turns

Assessment

Quiz

Computers

7th - 12th Grade

Practice Problem

Medium

Created by

David Platt

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?