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