Search Header Logo

Code Sprint '25

Authored by Arknight 007

Engineering

University

Used 6+ times

Code Sprint '25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for i in range (3):

print(i)

3
-1
1.5

0 1 2

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for j in range(5):

print(j * 2)

0 2 4 6 8

0 1 2 3 4

1 3 5 7 9

2 4 6 8 10

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for k in range(2, 5):

print(k ** 2)

2 3 4

2 3 4

4 9 16

1 4 9

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for m in range(1, 4):

print(m + 1)

1 2 3

2 3 4

0 1 2

2 3 4 5

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for n in range(1, 6):

print(n * 3)

3 4 5 6 7

1 2 3 4 5

0 3 6 9 12

3 6 9 12 15

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for x in range(4):

print(x + 2)

2 3 4 5

0 1 2 3

1 2 3 4

2 4 5 6

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code?

for y in range(1, 4):

print(y ** 3)

1 4 9

1 8 27

1 2 3

1 3 5

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?