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