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