BASICS
INPUTS & OUTPUTS
LOGIC
RGB SYSTEMS
CODE & THINKING
100

What is the function of a resistor in a circuit?

To limit current and protect components.

100

What does a push button do in a circuit?

It allows or interrupts current (input).

100

What does an IF statement do?

It checks a condition

100

What colors make up an RGB LED?

Red, Green, Blue

100

What does digitalWrite do?

Turns a pin ON or OFF.

200

What happens if you connect an LED without a resistor?

It can burn or get damaged.

200

What value does a button return when using INPUT_PULLUP and NOT pressed?

HIGH

200

What is the purpose of ELSE?

It runs when the condition is false.

200

What color do you get if all RGB colors are ON?

White

200

What does analogRead return?

A value between 0 and 1023.

300

What does GND represent in a circuit?

The ground or return path of electricity.

300

What value does a button return when pressed with INPUT_PULLUP?

LOW

300

What is the difference between IF and ELSE IF?

ELSE IF checks another condition if the first is false.

300

What happens if the RGB common pin is connected incorrectly?

The LED won’t work correctly or shows wrong colors.

300

What is a variable used for?

To store information.

400

What is the difference between INPUT and OUTPUT in Arduino?

INPUT reads signals, OUTPUT sends signals.

400

What is an example of an output device?

LED / buzzer

400

What does AND mean in logic?

Both conditions must be true.

400

What is the difference between common cathode and common anode?

Cathode → GND / Anode → 5V

400

Why do we use a variable like “state”?

To remember a condition (ON/OFF).

500

What does the Arduino loop() function do?

 It runs the code repeatedly.

500

Why do we use INPUT_PULLUP instead of an external resistor?

It simplifies the circuit using internal resistance.

500

What does OR mean in logic?

At least one condition must be true.

500

Why does an RGB LED sometimes show white when it shouldn’t?

All colors are activated at the same time.

500

Why do we use a delay or debounce in buttons?

To avoid multiple fast readings.

M
e
n
u