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