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