
XRP: Variables & Functions
Quiz
•
Engineering
•
11th Grade
•
Medium
Kathleen Mcnamara
Used 2+ times
FREE Resource
Enhance your content in a minute
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
defining the function
parameters
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)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
Introduction to Robotics
Quiz
•
11th Grade
15 questions
Measuring Techniques Quiz
Quiz
•
11th Grade
13 questions
Understanding Electrical Machines Quiz
Quiz
•
11th Grade
10 questions
Understanding AC and DC Machines
Quiz
•
11th Grade
10 questions
Recap of session 2 & 3 - Legislation and Regulations
Quiz
•
11th Grade
10 questions
Understanding Tyre Markings
Quiz
•
11th Grade
10 questions
Science of Speed
Quiz
•
5th Grade - University
10 questions
QUIZ SEJARAH ROBOTIKA DAN PENERAPAN
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Engineering
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
16 questions
Subject pronouns in Spanish
Quiz
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
17 questions
Graduation Requirements Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
