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