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