Assessment - for loop in Python

Assessment - for loop in Python

11th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

scratch

scratch

11th - 12th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Trắc nghiệm bài 12 tin học 11

Trắc nghiệm bài 12 tin học 11

11th Grade

10 Qs

10 câu kiểu xâu tiết 1

10 câu kiểu xâu tiết 1

11th Grade

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?