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