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