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