For Loops in Python

For Loops in Python

9th - 10th Grade

12 Qs

quiz-placeholder

Similar activities

Q7/Q8 Email Vocabulary (Basics in 21t4s)

Q7/Q8 Email Vocabulary (Basics in 21t4s)

5th - 9th Grade

17 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Network Security

Network Security

9th - 11th Grade

10 Qs

BlueJ

BlueJ

10th Grade

10 Qs

Intro to Computer Programming

Intro to Computer Programming

9th - 12th Grade

14 Qs

What is a program slides(6:16)

What is a program slides(6:16)

8th - 12th Grade

10 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

For Loops in Python

For Loops in Python

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

D Birch

Used 10+ 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

30 sec • 1 pt

What is the word used to describe repetition in programming?

Sequence
Selection
Iteration
Coding

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used when you know how many times you want to repeat something?

A WHILE Loop
An IF function
A FOR Loop
A Variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used when you DO NOT know how many times you want to repeat something?

A WHILE Loop
A Counter
A FOR Loop
A Forever Loop

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is printed when this program is run:
days = 5 
if days > 6:  
   print(“Month”)

else:  
   print(“Week”)

Month
Week
Day
4

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What letter will be printed on the screen after running this code:

team = “Manchester United”
letter = name[5]
print(letter)

M
d
e
Nothing prints

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the position of the name 'Paula' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]

0
1
2
3

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these are types of loop (tick all that apply)

While

Do

When

For

If

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?