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