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