
Unit07-Loops CodeHSAI

Quiz
•
World Languages
•
Professional Development
•
Hard
MrsT Voci
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
In-On-At practice

Quiz
•
Professional Development
10 questions
NT2 C1C2 Hun of hen

Quiz
•
Professional Development
12 questions
Present Simple

Quiz
•
Professional Development
12 questions
HSK1-Lesson1

Quiz
•
KG - Professional Dev...
10 questions
Numbers_big numbers 1

Quiz
•
6th Grade - Professio...
13 questions
Love is in the Air (Flower Thrower)

Quiz
•
Professional Development
10 questions
Tāite - Te Wiki o te Reo Māori

Quiz
•
Professional Development
10 questions
Presens

Quiz
•
Professional Development
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