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