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