
L3 Python Conditionals Quiz
Authored by Ellen Foley
Computers
11th Grade
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order for your motors to move, what command do you have to give?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your Python code can control how much electric power is delivered to each motor, over a full range. What does the following command do?
+100
full speed forward
full speed reverse
Turns the motor on
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about the "==" and "=" symbols are true?
Use == to test for equality; use = to assign a value to a variable
== is more likely to produce "True" answers while = is more likely to produce "False" answers
== is used in if statements while = is used only in else statements
== and = can be used interchangeably; they mean the same thing
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you want to test more than one condition, what do you use after an if statement?
elif
ifif
else if
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What Python command is used to mean "all other conditions"?
if
else
for
input
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is a data type that can only be true or false?
int
string
boolean
float
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which character must be at the end of the if statement line?
:
;
.
{
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?
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