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