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