Python - For Loop

Python - For Loop

8th Grade

12 Qs

quiz-placeholder

Similar activities

Quiz 3: Internet safety, cyber security and encryption

Quiz 3: Internet safety, cyber security and encryption

7th - 8th Grade

13 Qs

digital graphics

digital graphics

6th - 8th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Introduction to Networks

Introduction to Networks

6th - 8th Grade

14 Qs

Health Science Cluster

Health Science Cluster

8th - 12th Grade

12 Qs

Lessons 1-5 Test Review

Lessons 1-5 Test Review

8th Grade

17 Qs

G8_Ch2_Windows Movie Maker

G8_Ch2_Windows Movie Maker

8th Grade

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Python - For Loop

Python - For Loop

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

bhoomi raisinghani

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

In programming, what is iteration?

The repetition of steps within a program

The order in which instructions are carried out

A decision point in a program

Testing a program to make sure it works

2.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which two statements are used to implement iteration?

IF and WHILE
ELSE and WHILE
FOR and WHILE
IF and ELSE

3.

MULTIPLE CHOICE QUESTION

1 min • 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

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which kind of loop would be used?


I need a program that will keep letting me add a monthly payment for 12 months.

FOR Loop

WHILE Loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program above

prints all the odd numbers between 1 and 20

prints all even numbers between 1 and 20

print all the odd numbers between 1 and 21

prints all the even numbers between 1 and 21

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will 1 be printed

3

4

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in 100 :

print ( i )

Syntax error

prints numbers 0 to 100

prints numbers 1 to 100

prints numbers 0 to 99

prints numbers 1 to 99

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?