Unit3_9.3.4_Activity3

Unit3_9.3.4_Activity3

8th Grade

10 Qs

quiz-placeholder

Similar activities

Kuis Matematika 14/08/2025

Kuis Matematika 14/08/2025

4th Grade - University

10 Qs

Kuis Bebras

Kuis Bebras

6th - 8th Grade

10 Qs

Lego Spike & Python - Challenge 3 Quiz

Lego Spike & Python - Challenge 3 Quiz

6th - 8th Grade

10 Qs

Bài 5 Địa chỉ tương đối, tuyệt đối trong công thức

Bài 5 Địa chỉ tương đối, tuyệt đối trong công thức

8th Grade

10 Qs

Final Quiz Review #1

Final Quiz Review #1

8th Grade

12 Qs

ESTRUTURAS DE REPETIÇÃO

ESTRUTURAS DE REPETIÇÃO

6th - 8th Grade

11 Qs

Test shkollor, 7

Test shkollor, 7

7th Grade - University

10 Qs

Unit3_9.3.4_Activity3

Unit3_9.3.4_Activity3

Assessment

Quiz

Information Technology (IT)

8th Grade

Practice Problem

Medium

Created by

Mai Đàm

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

20 sec • 10 pts

Media Image

What will this code print?

2,3,4,5,6

2,4,6

2,4,5,6

2,3,5

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

What is wrong with this code?

It will print numbers in reverse order

It will not run because range(5,0) is incorrect

It will print only 5

It will print an error message

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What does range(1, 6, 2) generate?

1,2,3,4,5

1,3,5

1,3,5,6

1,2,3,4

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which loop correctly counts from 10 to 1?

for i in range(10, 1, -1):

for i in range(10, 0, -1):

for i in range(10, 0):

for i in range(10, -1, -1):

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What happens if range(5, 5) is used?

It prints 5

It prints an error

It prints nothing

It prints 5,4,3,2,1

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Media Image

How many times does this loop run?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which part of range(start, stop, step) controls how the loop increments?

start

stop

step

none

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?