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