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