Loops in Python

Loops in Python

7th - 11th Grade

15 Qs

quiz-placeholder

Similar activities

Recruitment

Recruitment

7th Grade

11 Qs

Q1 M 5 POST TEST

Q1 M 5 POST TEST

10th Grade

20 Qs

8th Excel charts1

8th Excel charts1

8th Grade

15 Qs

Electronic Component

Electronic Component

10th Grade

15 Qs

MODULE 8 PRE TEST

MODULE 8 PRE TEST

10th Grade

10 Qs

Installing and Carrying Out  Variation of Application Software

Installing and Carrying Out Variation of Application Software

10th Grade

10 Qs

Unit #6 | Worksheet Quiz

Unit #6 | Worksheet Quiz

7th Grade

10 Qs

Module 23 - The Internet 2

Module 23 - The Internet 2

9th - 12th Grade

19 Qs

Loops in Python

Loops in Python

Assessment

Quiz

Computers

7th - 11th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content

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

15 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

1 min • 1 pt

What are the two main types of loops that we have learned about in Python?
IF Function & Variables
FOR and WHILE Loops
Forever and Fixed Loop
Data Types and Numbers

3.

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

4.

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would amount equal in this piece of code:

amount = 2 + 5 * 2
12
9
14
5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the value of ‘marks’ after running this code:
 
marks = 20
total = 5 
newmarks = marks * 3
60
45
100
75

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

else:  
   print(“Week”)
Month
Week
Day
4

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?