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