
9.1 homework Count controlled loops
Authored by K Tilney
Computers
8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a count-controlled iteration in Python?
Repeating a set of instructions a fixed number of times
Repeating instructions until a condition is met
Running code only once
Skipping instructions in a program
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the missing word in this count controlled loop.
for i in ___________ (10):
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the variable 'i' represent in the following code? for i in range(5): print("Hello!")
The number of times "Hello!" is printed
The counter that keeps track of loop runs
The total number of loops
The value to be printed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python statement is used to repeat an action a specific number of times in the provided code?
for i in range(times):
print("High five number", i + 1, "🖐")
times = int(input("How many high-fives do you want? "))
if times > 0:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value does the counter (i) start at in the example for loop: for i in range(5)?
0
1
5
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you want to print "Goodbye!" 3 times using a for loop in Python. Which code would you use?
for i in range(3): print("Goodbye!")
for i in range(5): print("Goodbye!")
for i in range(1): print("Goodbye!")
for i in range(0): print("Goodbye!")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Python code "for i in range(1, 6): print(i)" do?
Prints the numbers 1 to 6
Prints the numbers 0 to 5
Prints the numbers 1 to 5
Prints the number 6 only
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
10 questions
Citing Web Sources
Quiz
•
8th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Online Databases vs. Search Engines
Quiz
•
6th - 10th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade