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