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