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