Python - For Loop

Quiz
•
Computers
•
8th Grade
•
Hard
bhoomi raisinghani
Used 18+ times
FREE Resource
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
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
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Small Basic Quiz

Quiz
•
7th - 9th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
10 questions
Python L18 & 19 Caesar Cipher

Quiz
•
6th - 8th Grade
17 questions
Scratch Vocab and Concepts

Quiz
•
6th - 8th Grade
10 questions
Python Data Types

Quiz
•
8th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
13 questions
FOR Loop Python

Quiz
•
6th - 8th Grade
10 questions
KS3 Computing -- Iteration: FOR or WHILE?

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade