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