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