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