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