Variables
Method
PID
Miscellaneous
100

What variable type is "hello"?

String

100

What is an example of a method modifier?

Private, Public, Protected, Static

100

What does PID stand for?

Proportional, integral, derivative

100

What is the robot we used called?

Romi

200

What is a boolean?

true/false

200

What is a return type of a method if it doesn't return anything?

Void

200

What is an error?

Difference between setpoint and current value

200

What framework did we use to program the robot?

WPILib

300

What is the difference between int and double?

double can have decimals while int can't

300

What is a method?

A block of code that performs a specific task.

300

What does P term do?

It produces an output proportional to the current error.

300

What does % do?

Find the remainder

400

Can I initialize multiple variable of the same type in one line?

Yes


int x, y, z;

int x=10,y=20,z=30;

400

What is a static method?

Method belonging to an object

400

What is purpose of PID

To control a system so that it reaches and maintains a desired target

400

int i = 10;

i *= 3;

What is i now?

30

500

What does this.variableName reference to?

Refers to the global instance variable of the object

500

What happens when you have multiple return statements in one method?

Only one of them will get called

500

What does D term do

Looks at rate of change and slows down the output if necessary 

500
How does Supplier differ from other variables?

Doing Supplier.get() will fetch the latest value of the supplier

M
e
n
u