Electronics Worksheet: Input and Output Pins
Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.
NameDateTime takenScore ___ / 40
-
1.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 7 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 2.🔌 Is a sound sensor an input or an output for a microcontroller? (a) input (b) output
- 3.📶 On a 5 V board, a pin set HIGH gives about … (a) 5 V (b) 230 V (c) 0 V (d) 50 V
- 4.True or false: “many values in a range” is a digital signal. (a) True (b) False
-
5.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 6.True or false: “a button: pressed or not” is a digital signal. (a) True (b) False
- 7.Which of these is an output? (a) an LED (b) a motion sensor (c) a temperature sensor (d) a keypad
- 8.📶 Digital or analog: a tilt switch: on or off? (a) analog (b) digital
- 9.Which of these is an output? (a) a temperature sensor (b) a light sensor (c) a speaker (d) a turning knob
- 10.🔌 Is a motion sensor an input or an output for a microcontroller? (a) input (b) output
-
11.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 12.🔌 Is a water pump an input or an output for a microcontroller? (a) input (b) output
-
13.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 7 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF -
14.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 7 HIGH
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF -
15.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 16.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
- 17.🔍 Which is the odd one out? (a) a sound sensor (b) a motion sensor (c) a servo motor (d) a keypad
-
18.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 8 HIGH
set pin 7 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF -
19.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 8 HIGH
set pin 7 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 20.True or false: “how loud a sound is” is an analog signal. (a) True (b) False
- 21.🔌 Is an LED an input or an output for a microcontroller? (a) input (b) output
- 22.Which of these is an output? (a) a servo motor (b) a temperature sensor (c) a motion sensor (d) a keypad
- 23.📶 Digital or analog: a button: pressed or not? (a) digital (b) analog
- 24.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
- 25.Which of these is an input? (a) a motor (b) a turning knob (c) a small display (d) a water pump
- 26.📶 How many states can a digital pin have? (a) two (b) a thousand (c) one (d) ten
- 27.🔍 Which is the odd one out? (a) a speaker (b) a servo motor (c) a temperature sensor (d) an LED
- 28.True or false: “a door: open or shut” is a digital signal. (a) False (b) True
-
29.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 LOW
set pin 7 LOW
set pin 8 HIGH
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 30.Which of these is an output? (a) a small display (b) a light sensor (c) a sound sensor (d) a temperature sensor
-
31.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 32.🔍 Which is the odd one out? (a) a small display (b) a sound sensor (c) a keypad (d) a push button
- 33.True or false: “a button: pressed or not” is an analog signal. (a) True (b) False
- 34.🔍 Which is the odd one out? (a) a buzzer (b) a light sensor (c) a speaker (d) a servo motor
- 35.Which of these is an input? (a) a speaker (b) a motor (c) a small display (d) a keypad
- 36.📶 A pin that reads a push button is set as … (a) an input (b) an output (c) a resistor (d) a battery
- 37.🔍 Which is the odd one out? (a) an LED (b) a buzzer (c) a push button (d) a small display
- 38.🔌 Is a turning knob an input or an output for a microcontroller? (a) input (b) output
-
39.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 HIGH
set pin 8 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 40.🔌 Is a servo motor an input or an output for a microcontroller? (a) output (b) input
Answer key
- ON
- input
- 5 V
- False
- OFF
- True
- an LED
- digital
- a speaker
- input
- OFF
- output
- ON
- ON
- OFF
- input
- a servo motor
- ON
- ON
- True
- output
- a servo motor
- digital
- analog
- a turning knob
- two
- a temperature sensor
- True
- ON
- a small display
- OFF
- a small display
- False
- a light sensor
- a keypad
- an input
- a push button
- input
- ON
- output
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids