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