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