Search Header Logo

for loops

Authored by Phương Nguyễn

Instructional Technology

9th Grade

Used 43+ times

for loops
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This statement is used to allow a program to repeat a task for a specific number of times

if

for

while

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

range() function is used to create a sequence of numbers.

Write the range() function to create this sequence: [0, 1, 2, 3, 4]

range(0, 1, 2, 3, 4)

range(5)

range(4)

range(0, 4)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

range() function is used to create a sequence of numbers.

Write the range() function to create this sequence: [2, 3, 4, 5, 6]

range(2, 3, 4, 5, 6)

range(2, 6)

range(2, 7)

range(5)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

range() function is used to create a sequence of numbers.

Write the range() function to create this sequence: [2, 4, 6, 8]

range(2, 4, 6, 8)

range(2, 8)

range(2, 9)

range(2, 9, 2)

range(2, 8, 2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed after the program is executed?

1 2 3 4 5

1

2

3

4

5

0 1 2 3 4

0

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be displayed after the program is executed?

0

1

2

3

4

5

1

2

3

4

5

1

2

3

4

5

6

0

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be displayed after the program is executed?

2

15

3

2

5

8

11

14

Hi

Hi

Hi

Hi

Hi

Hi

Hi

Hi

my brain hurts

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?