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