Assessment - for loop in Python

Assessment - for loop in Python

11th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Arduino

Arduino

7th - 12th Grade

10 Qs

Задачи

Задачи

11th Grade

10 Qs

Pandas - CSV file

Pandas - CSV file

12th Grade

10 Qs

3.1.4 Penghasilan pseudokod dan carta alir gabungan

3.1.4 Penghasilan pseudokod dan carta alir gabungan

12th Grade

10 Qs

Microsoft Word 3ºB

Microsoft Word 3ºB

12th Grade

10 Qs

Pemrograman Web Pra PAS

Pemrograman Web Pra PAS

11th Grade

10 Qs

Mid semester kelas XI RPL Konsep pemodelan berorientasi objek

Mid semester kelas XI RPL Konsep pemodelan berorientasi objek

11th Grade

10 Qs

Función CONTAR

Función CONTAR

KG - Professional Development

10 Qs

Assessment - for loop in Python

Assessment - for loop in Python

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Medium

Created by

DHIVYA ANOOP

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?