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