
Unit07-Loops CodeHSAI
Quiz
•
World Languages
•
Professional Development
•
Practice Problem
•
Hard
MrsT Voci
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of loop is used when you know exactly how many times you'll have to do something?
While loop
For loop
If loop
Do-while loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'range' function determine in a for loop?
All of the above
Starting number
Ending number
increment/decrement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a for loop, what is the variable 'i'?
Boolean variable
Float variable
String variable
Integer variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'range' function do when given two numbers?
Starts at the second number and decrements down by the first number
Starts at the first number and goes up to the second number
Starts at the second number and goes down to the first number
Starts at the first number and increments up by the second number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can the number in the 'range' function be?
Only a constant value
Only a variable
Either a constant value or a variable
Neither a constant value nor a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two keywords that can be used to tweak the behavior of a loop in Python?
stop, skip
terminate, restart
break, continue
end, start
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a while loop allow you to do?
Execute code once
Check a condition repeatedly and execute code
Terminate the program
Skip the code execution
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
15 questions
MARUGOTO A2.1 LESSON 2
Quiz
•
KG - Professional Dev...
10 questions
QUIZ 1 测验1
Quiz
•
Professional Development
13 questions
Love is in the Air (Flower Thrower)
Quiz
•
Professional Development
10 questions
Karakia
Quiz
•
Professional Development
10 questions
Lesson 1 Pinyin and Tones
Quiz
•
Professional Development
10 questions
Used to / Would
Quiz
•
6th Grade - Professio...
12 questions
Verbs of the senses - LOOK LIKE, LOOK, LOOK AS IF AND AS
Quiz
•
Professional Development
6 questions
The dream team
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for World Languages
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
