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