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