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