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.Which of these is an input? (a) an LED (b) a sound sensor (c) a speaker (d) a servo motor
- 2.🔍 Which is the odd one out? (a) a keypad (b) a small display (c) a motor (d) a speaker
- 3.🔍 Which is the odd one out? (a) a turning knob (b) a buzzer (c) a temperature sensor (d) a motion sensor
- 4.🔌 Is a water pump an input or an output for a microcontroller? (a) output (b) input
- 5.🔌 Is a buzzer an input or an output for a microcontroller? (a) input (b) output
- 6.🔌 Is an LED an input or an output for a microcontroller? (a) output (b) input
- 7.📶 How many states can a digital pin have? (a) a thousand (b) two (c) ten (d) one
- 8.🔌 Is a sound sensor an input or an output for a microcontroller? (a) input (b) output
-
9.💡 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 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 10.🔌 Is a servo motor an input or an output for a microcontroller? (a) output (b) input
-
11.💡 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
Is the LED ON or OFF at the end? (a) OFF (b) ON - 12.🔌 Is a keypad an input or an output for a microcontroller? (a) output (b) input
-
13.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 LOW
set pin 8 LOW
set pin 8 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 14.🔍 Which is the odd one out? (a) a motor (b) a light sensor (c) a temperature sensor (d) a push button
- 15.🔌 Is a push button an input or an output for a microcontroller? (a) output (b) input
- 16.Which of these is an output? (a) a push button (b) a temperature sensor (c) a motion sensor (d) a servo motor
-
17.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 8 LOW
set pin 7 LOW
set pin 7 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 18.True or false: “a button: pressed or not” is a digital signal. (a) False (b) True
-
19.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 20.🔌 Is a small display an input or an output for a microcontroller? (a) output (b) input
- 21.🔌 Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
-
22.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 LOW
set pin 7 HIGH
set pin 8 LOW
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 23.True or false: “HIGH or LOW only” is a digital signal. (a) True (b) False
- 24.🔍 Which is the odd one out? (a) an LED (b) a sound sensor (c) a servo motor (d) a buzzer
- 25.🔌 Is a speaker an input or an output for a microcontroller? (a) input (b) output
- 26.Which of these is an input? (a) a servo motor (b) a temperature sensor (c) a speaker (d) a motor
- 27.🔍 Which is the odd one out? (a) a water pump (b) a buzzer (c) a temperature sensor (d) a motor
- 28.📶 On a 5 V board, a pin set HIGH gives about … (a) 0 V (b) 50 V (c) 5 V (d) 230 V
- 29.True or false: “a door: open or shut” is an analog signal. (a) False (b) True
-
30.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 LOW
set pin 8 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 31.True or false: “a button: pressed or not” is an analog signal. (a) False (b) True
-
32.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 8 LOW
set pin 7 HIGH
set pin 8 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 33.True or false: “a knob turned part way” is an analog signal. (a) True (b) False
- 34.🔍 Which is the odd one out? (a) a motion sensor (b) a servo motor (c) a push button (d) a temperature sensor
- 35.Which of these is an output? (a) a temperature sensor (b) a turning knob (c) a speaker (d) a sound sensor
- 36.Which of these is an input? (a) a motion sensor (b) a motor (c) a small display (d) a buzzer
- 37.True or false: “many values in a range” is an analog signal. (a) True (b) False
- 38.📶 Digital or analog: HIGH or LOW only? (a) analog (b) digital
- 39.📶 A pin set LOW gives about … (a) 9 V (b) 5 V (c) 0 V (d) 1.5 V
- 40.📶 Digital or analog: how loud a sound is? (a) analog (b) digital
Answer key
- a sound sensor
- a keypad
- a buzzer
- output
- output
- output
- two
- input
- OFF
- output
- ON
- input
- OFF
- a motor
- input
- a servo motor
- OFF
- True
- OFF
- output
- input
- ON
- True
- a sound sensor
- output
- a temperature sensor
- a temperature sensor
- 5 V
- False
- OFF
- False
- OFF
- True
- a servo motor
- a speaker
- a motion sensor
- True
- digital
- 0 V
- analog
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids