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