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