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