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