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