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