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