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