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