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