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