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