Assessment - for loop in Python

Assessment - for loop in Python

11th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Flow of Control

Flow of Control

11th Grade

10 Qs

Vocabulary Quizz

Vocabulary Quizz

5th - 12th Grade

9 Qs

Quiz 13 - For Loops

Quiz 13 - For Loops

11th Grade

10 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Do Now - Retrieval - Programming and Data Structures

Do Now - Retrieval - Programming and Data Structures

11th Grade

11 Qs

kuis coding dan perkenalan AI

kuis coding dan perkenalan AI

12th Grade

10 Qs

Module 3 Test Review Repeating - CSF2

Module 3 Test Review Repeating - CSF2

9th - 12th Grade

9 Qs

Thinking Logically (1)

Thinking Logically (1)

12th Grade

10 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