
9.1 homework Count controlled loops

Quiz
•
Computers
•
8th Grade
•
Medium
K Tilney
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
15 questions
Python : Codeathon Competition

Quiz
•
5th - 8th Grade
12 questions
Python - For Loop

Quiz
•
8th Grade
9 questions
Blockly Coding

Quiz
•
8th Grade
10 questions
For loop

Quiz
•
8th Grade
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
11 questions
Python Basics Quiz

Quiz
•
8th Grade
11 questions
Digital Life

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade