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