Python Alternating Turns

Python Alternating Turns

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

Quiz 8 (01.09.2021)

Quiz 8 (01.09.2021)

1st - 12th Grade

10 Qs

Questionário Aula 6 - Int. à Inf. (Segurança e Proteção)

Questionário Aula 6 - Int. à Inf. (Segurança e Proteção)

10th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Hệ Điều Hành

Hệ Điều Hành

10th Grade

12 Qs

10 câu kiểu xâu tiết 1

10 câu kiểu xâu tiết 1

11th 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

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?