Python Alternating Turns

Python Alternating Turns

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Data Types and Variable Scope in GDevelop

Data Types and Variable Scope in GDevelop

6th - 8th Grade

13 Qs

Holiday Program: Teens Can Code

Holiday Program: Teens Can Code

6th - 8th Grade

10 Qs

Minecraft Education Python

Minecraft Education Python

7th - 9th Grade

10 Qs

Fortnite 101

Fortnite 101

KG - University

7 Qs

Hearts for beginners

Hearts for beginners

6th - 12th Grade

15 Qs

GCSE Computing: Lists and Arrays

GCSE Computing: Lists and Arrays

10th - 11th Grade

15 Qs

The $1 Game

The $1 Game

KG - 12th Grade

11 Qs

Minecraft - Python Rivision

Minecraft - Python Rivision

7th - 9th Grade

10 Qs

Python Alternating Turns

Python Alternating Turns

Assessment

Quiz

Computers

7th - 12th Grade

Medium

Created by

David Platt

Used 16+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?