CSP Quiz For and While Loops

CSP Quiz For and While Loops

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python while loops

Python while loops

Python While Loops

Python While Loops

For Loops in Python

For Loops in Python

Python Loops

Python Loops

Python: For loops

Python: For loops

untitled

untitled

Review - for Loop in Python

Review - for Loop in Python

CSP Quiz For and While Loops

CSP Quiz For and While Loops

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Garrett White

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the iteration variable (looping variable) in the FOR LOOP code?

n

num

value

i

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the iteration variable (looping variable) in the WHILE LOOP code?

w

y

z

i

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In a Python program, what would be the starting value in the FOR LOOP code?

100

10

5

20

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In a Python program, what would be the starting value in the FOR LOOP code?

25

4

1

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In a Python program, what would be the starting value in the WHILE LOOP code?

20

5

2

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In a Python program, what would be the starting value in the WHILE LOOP code?

50

3

5

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In a Python program, what would be the starting value in the WHILE LOOP code?

6

1

0

10

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

Already have an account?