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