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