Logic
Sensors
Operators
Vocabulary
100

This is a statement in programming that tests a condition.

What is an if statement?

100

The category in easyC where all of the sensor blocks can be found.

What is input?

100

This operator increases a value by one.

What is ++?

100

This stores a value that can be used throughout a program.

What is a variable?

200

This loop will repeat ______ times.

for ( int i = 0; i < 8; i ++ ) { }

What is eight?

200

The ultrasonic sensor can determine distance by emitting and reading these.

What are sound waves?

200

These symbols are used to compare or constrain a variable. (Hint: they are also used in inequalities)

What is >, <, >=, <=?

200

This stores a section of code that can be used throughout the program.

What is a function?

300

This loop requires a condition and will run until the condition is met.

What is a while loop?

300

The two possible inputs from a bumper switch.

What is 1 or 0. (On and off is also fine.)

300

This is used to test if a variable is equal to a number.

What is ==?

300

This variable type stores a whole number.

What is an integer/int?

400

This loop will repeat ______ times.

While ( int i = 0; i < 4; i - - ) { }

What is infinite?

400

This combination of logic loops/statements is most common when using sensors with vex.

What is a while loop and if statements?

400

This tests if a variable is not equal to a number. 

What is !=?

400

These are requirements for if statements and while loops.

What are conditions?

500

The three arguments required in a for loop.

Variable, constraints, increment

500

This is the main difference between the output from the ultrasonic and bumper sensors.

What is digital and analog?

500

This operator combines conditions. (Hint: think of it like an “and” connecting the conditions)

What is &&?

500

Variable input used in a function. There can be multiple of these in a function.

What is a parameter?