millis()
Loops
Variables
Ranges
Misc.
100

The command that returns the elapsed time since the board was powered on.

What is millis()?

100

What goes on the missing line?

For( X = 0; _____; X++)

{

}


What is a condition?

100

This is the most commonly used declaration, saves only whole numbers from -32,768 to 32,768

What is an integer?

100

What is the range for a button, and what do the min and max mean?

What is 0-1?

Off - On

100

The refresh rate for our Serial Monitor is what?

9600

200

The Millis() command always returns a value in what unit of time?

What are milliseconds?

200

This type of loop will only execute a section of code repeatedly if the condition is true.

What is a while loop?

200

This variable is used to hold very large numbers. Can be signed or unsigned.

What is a long

200

What is the range for a potentiometer, and what do the min and max mean?

What is 0-1023?

Lowest - Highest

200

The main difference between a conductor and an insulator.

Conductors allow the flow of current; insulators do not.

300

To make something happen after five seconds, what should the difference between startTime and endTime be?

What is 5000?

300

I want to make a for loop that increases the count by two each time it runs. What would I put as the update to achieve this?

What is i+=2?

300

This variable type can hold text.

What is a string?

300

The range of possible readings for a digital sensor.

What is 0-1?

300

Ohm's Law describes the fundamental relationship in electrical circuits. What three things are measured using Ohm’s Law?

What are voltage, current, and resistance?

400

What kind of variable do we save millis() as?

What is an unsigned long?

400

This goes in the parentheses of a while loop.

while(_____)

What is a condition?

400

A student is storing the number of times a loop has run, and the value will stay relatively small and never include decimals. Which variable type should they use?

What is an integer (int)?

400

The range of possible readings for a positional servo motor.

What is 0-180?

(A servo motor moves in degrees!)

400
The component's schematic symbol is a zigzag line.

What is a resistor?

500

This line of code will print the current time since the board turned on in seconds.

What is Serial.print(millis()/1000);
500

How many times will this loop repeat?


While (x<5)

{

Int x =0;

x++;

}

What is an infinite number of times?

500

A student is using the millis() command to make a countdown timer until winter break. What variable type should they use to store this number?

What is an unsigned long?

500

If a potentiometer is reading 512, what position is the potentiometer at?

What is the middle?

500

Why is a resistor commonly used with an LED in a circuit?

What is to limit the current and protect the LED from burning out?