This is a statement in programming that tests a condition.
What is an if statement?
The category in easyC where all of the sensor blocks can be found.
What is input?
This operator increases a value by one.
What is ++?
This stores a value that can be used throughout a program.
What is a variable?
This loop will repeat ______ times.
for ( int i = 0; i < 8; i ++ ) { }
What is eight?
The ultrasonic sensor can determine distance by emitting and reading these.
What are sound waves?
These symbols are used to compare or constrain a variable. (Hint: they are also used in inequalities)
What is >, <, >=, <=?
This stores a section of code that can be used throughout the program.
What is a function?
This loop requires a condition and will run until the condition is met.
What is a while loop?
The two possible inputs from a bumper switch.
What is 1 or 0. (On and off is also fine.)
This is used to test if a variable is equal to a number.
What is ==?
This variable type stores a whole number.
What is an integer/int?
This loop will repeat ______ times.
While ( int i = 0; i < 4; i - - ) { }
What is infinite?
This combination of logic loops/statements is most common when using sensors with vex.
What is a while loop and if statements?
This tests if a variable is not equal to a number.
What is !=?
These are requirements for if statements and while loops.
What are conditions?
The three arguments required in a for loop.
Variable, constraints, increment
This is the main difference between the output from the ultrasonic and bumper sensors.
What is digital and analog?
This operator combines conditions. (Hint: think of it like an “and” connecting the conditions)
What is &&?
Variable input used in a function. There can be multiple of these in a function.
What is a parameter?