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