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