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