Python - Iteration (For Loops)

Python - Iteration (For Loops)

10th Grade

20 Qs

quiz-placeholder

Similar activities

Quiz Inf X.B

Quiz Inf X.B

10th Grade - University

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

CSP Unit 13 Practice Test

CSP Unit 13 Practice Test

9th - 12th Grade

15 Qs

System Computer : Al-Azhar

System Computer : Al-Azhar

9th - 12th Grade

20 Qs

Ôn tập học kỳ I

Ôn tập học kỳ I

9th - 12th Grade

20 Qs

Informatika

Informatika

10th Grade

20 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

TIK VII YT, GC, VIDCOF

TIK VII YT, GC, VIDCOF

7th - 12th Grade

20 Qs

Python - Iteration (For Loops)

Python - Iteration (For Loops)

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Marc Hoy

Used 366+ 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

30 sec • 1 pt

Media Image

What will this code output?

nothing at all

dude

dude, 4 times

dude, 6 times

dude, 3 times

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is the "i"

a while loop

a variable

iteration

a loop

random letter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is "range"?

a function

a variable

iteration

a loop

selection

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is "for"?

a function

sequence

iteration

a while loop

selection

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, how would the code need to be changed, to print "dude" 10 times?

change the "dude", to a 10

change the 4, to a 10

change the for, to a while

change the 4, to an 11

change the print to an input()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed?

1,2,3,4

2,3,4,5

1,1,1,1

1,2,3

0,1,2,3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed?

Nothing

5, 6, 7, 8, 9

1, 2, 3, 4, 5

1, 1, 1, 1, 1

5, 6, 7, 8, 9, 10

Access all questions and much more by creating a free account

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?