
Python While Loops
Authored by Katie Steingold
Other
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to ask the user for input and store it as an integer in Python?
number1 = input("Enter a number: ")
number1 = int(input("Enter a number: ")
number1 = str(input("Enter a number: ")
number1 = float(input("Enter a number: ")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you subtract the value of 'number2' from 'number1' and store the result in 'answer'?
answer = number1 + number2
answer = number1 * number2
answer = number1 - number2
answer = number2 - number1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop in programming?
The type of data being used by the program
The place where inputs get stored by the program
A sequence of instructions that is continually repeated until a certain condition is reached
“Whole Number” data type
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an integer in programming?
Another name for a 'loop'
The type of data being used by the program
The place where inputs get stored by the program
“Whole Number” data type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term 'iteration' refer to in programming?
The type of data being used by the program
“Whole Number” data type
The place where inputs get stored by the program
Another name for a 'loop'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in the context of programming?
“Whole Number” data type
The place where inputs get stored by the program
Another name for a 'loop'
The type of data being used by the program
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is iteration in programming?
The process of increasing the value of a variable
The process of doing something once and moving to the next step
The process of doing something again and again
The process of checking a condition once
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
20 questions
Safari Animals
Quiz
•
KG - 12th Grade
20 questions
Soal PK, PU TINGKATAN PENGGALANG
Quiz
•
7th - 9th Grade
20 questions
Warm and Cold Fronts
Quiz
•
6th - 12th Grade
20 questions
Super Bowl Trivia
Quiz
•
6th - 12th Grade
25 questions
piggy
Quiz
•
1st - 12th Grade
20 questions
REVIEW MIDDLE SCHOOL
Quiz
•
8th - 9th Grade
20 questions
Affixes Quiz
Quiz
•
6th - 12th Grade
22 questions
Tennis Trivia
Quiz
•
9th - 12th Grade
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 Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade