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