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