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