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