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