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