Code Sprint '25

Code Sprint '25

University

20 Qs

quiz-placeholder

Similar activities

CODEBURST : JAVA EDITION

CODEBURST : JAVA EDITION

University

20 Qs

BugBlitz

BugBlitz

University

15 Qs

TECH WHIZ

TECH WHIZ

University

15 Qs

Salaar

Salaar

University

20 Qs

Codigo

Codigo

University

15 Qs

PST CO1 MCQ

PST CO1 MCQ

University

15 Qs

Output Prediction in C

Output Prediction in C

University

20 Qs

c programming quiz

c programming quiz

University

20 Qs

Code Sprint '25

Code Sprint '25

Assessment

Quiz

Engineering

University

Medium

Created by

Arknight 007

Used 6+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?