
XRP: Variables & Functions
Authored by Kathleen Mcnamara
Engineering
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
When do you want to use a variable?
to hold a value
to change values
never
to create a function
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Create a variable names velocity and set it to be 0
3.
OPEN ENDED QUESTION
3 mins • 1 pt
When would you use a while True loop?
Evaluate responses using AI:
OFF
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Why make functions?
easy to repeat code
easier to read
helps with variables
let's you use if statements
5.
LABELLING QUESTION
1 min • 1 pt
What are the parts of a function?
calling the function
parameters
defining the function
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Finish creating this function:
_______ go_robot(velocity, time):
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Finish the code.
def run_robot(velocity, time):
drivetrain.set_speed(______, ______)
sleep(time)
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
10 questions
CIVILWAR DAY 21 - KWA - (Bearing and Building Regulations)
Quiz
•
1st Grade - University
7 questions
Types of Saws
Quiz
•
9th Grade - University
15 questions
Pre-learning Quiz: Introduction to Microcontrollers (PIF-1)
Quiz
•
9th - 12th Grade
10 questions
Quiz Kemasan (Packing)
Quiz
•
11th Grade
11 questions
Car Design Engineering Quiz 2024
Quiz
•
9th - 12th Grade
15 questions
Understanding Forces and Motion
Quiz
•
11th Grade
10 questions
Stem Quiz 2
Quiz
•
9th Grade - University
15 questions
Unit 1 – Introduction Lesson 1b-2
Quiz
•
11th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Engineering
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade