Review - for Loop in Python

Review - for Loop in Python

12th Grade

13 Qs

quiz-placeholder

Similar activities

Arduino

Arduino

7th - 12th Grade

10 Qs

Pandas - CSV file

Pandas - CSV file

12th Grade

10 Qs

Microsoft Word 3ºB

Microsoft Word 3ºB

12th Grade

10 Qs

ICT Unit Test Topic : DBMS - Access

ICT Unit Test Topic : DBMS - Access

8th - 12th Grade

15 Qs

Cell Phone Vocabulary

Cell Phone Vocabulary

9th - 12th Grade

12 Qs

Vocabulary of Computer

Vocabulary of Computer

12th Grade

15 Qs

Sprawdź się

Sprawdź się

4th - 12th Grade

10 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Review - for Loop in Python

Review - for Loop in Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Wan-hsuan Lin

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When would you use a FOR loop?

When you know how many times you want something to loop

When you don't know how many times you want it to loop

when you have a decision to make

When you need to do calculations

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A FOR Loop is...

A condition controlled loop

A count controlled loop

A selection loop

A sequential loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What do the 3 numbers in range do/mean?

range(end, start, end)

range(start, end, step)

range(end, start, step)

range(start, step, end)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is i ?

a while loop

a variable

iteration

a loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is iteration?

The repetition of steps within a program

A decision point in a program

The order in which instructions are carried out

Testing a program to make sure it works

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 The character that must be at the end of the line for if, while, for etc.

;

+

\;

:

Create a free account and access millions of resources

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?