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