When do you want to use a variable?

XRP: Variables & Functions

Quiz
•
Engineering
•
11th Grade
•
Medium
Kathleen Mcnamara
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
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)
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Introduction to Robotics

Quiz
•
11th Grade
15 questions
Creating a V5 Drivetrain

Quiz
•
11th Grade
16 questions
CH 11: Energy & its Conservation

Quiz
•
11th Grade
15 questions
Module 6: Operations and Motion

Quiz
•
11th Grade
12 questions
Back to Campus Activity

Quiz
•
9th - 12th Grade
15 questions
Designing a V5 Chassis

Quiz
•
11th Grade
10 questions
Precision and Accuracy

Quiz
•
10th Grade - University
10 questions
Understanding Tyre Markings

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade