Assessment - for loop in Python

Assessment - for loop in Python

11th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

AP CSA 4.2 (For Loops)

AP CSA 4.2 (For Loops)

10th - 12th Grade

10 Qs

Python Review

Python Review

11th Grade

11 Qs

Small Basic Mid Point Review

Small Basic Mid Point Review

6th - 12th Grade

8 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

Quiz 4 Edhesive Review

Quiz 4 Edhesive Review

9th - 12th Grade

10 Qs

C++ For Loop Basic Grade 12

C++ For Loop Basic Grade 12

11th Grade

10 Qs

AP CS A Quiz 4 Practice

AP CS A Quiz 4 Practice

9th - 12th Grade

9 Qs

Assessment - for loop in Python

Assessment - for loop in Python

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

DHIVYA ANOOP

Used 17+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

FOR loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

What are the values that can be seen in the output?

0,1,2,3,4,5,6,7,8,9,10, 11,12

1,2,3,4,5,6,7,8,9,10,11,

12

1,2,3,4,5,6,7,8,9,10,11,

12,13

0,1,2,3,4,5,6,7,8,9,10,11,12,13

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

what is the name of the variable used in the following code?

counter

print

for

#

4.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

What type of loop is used when you know how many times you want to repeat something?

while loop

for loop

if statement

a variable

5.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Choose the set of values of i that will be displayed on the screen.

for i in range(1,6):

print(i*2)

2,4,6,8,10

1,2,3,4,5

1,2,3,4,5,6,

2,4,6,8,10,12

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

Predict the output of the given code:

Media Image
Media Image
Media Image