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