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