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