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