Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What is a variable in programming?
Think of it as a box that holds information.
Write an example of a conditional statement.
What condition will cause the robot to move?
What is a variable?
Remember, it’s like a box that holds data.
Conditionals help control flow in programming.
Think about decisions in your programming.
Write a code snippet that uses a variable to track a robot's battery level, and make decisions based on that level.
What should you do if the battery is low?
Create a loop that reads a sensor value continuously, stopping the robot if an object is detected within a certain distance.
Think about how loops function for real-time activities.
6 more questions in this section. Enroll free to practise them all.
Enroll free