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