Python Alternating Turns

Python Alternating Turns

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Arrays

Python Arrays

9th - 12th Grade

13 Qs

Year 7 Scratch Baseline

Year 7 Scratch Baseline

7th - 8th Grade

12 Qs

Binary Code

Binary Code

7th - 8th Grade

9 Qs

Database Concepts - Introduction

Database Concepts - Introduction

11th Grade

13 Qs

Photoshop Basics

Photoshop Basics

11th Grade

12 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Excel

Excel

9th Grade

15 Qs

Python:  Rock, Scissors, Paper

Python: Rock, Scissors, Paper

10th - 12th 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?