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